Skip to content

Commit

Permalink
Fix commas.
Browse files Browse the repository at this point in the history
  • Loading branch information
smmalis37 committed Jul 25, 2020
1 parent 9e42d3e commit 617dd0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_typeck/astconv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
tcx.sess,
decl.output.span(),
E0581,
"return type references {} which is not constrained by the fn input types",
"return type references {}, which is not constrained by the fn input types",
br_name
)
});
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-47511.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types
error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types
--> $DIR/issue-47511.rs:5:15
|
LL | fn f(_: X) -> X {
Expand Down

0 comments on commit 617dd0a

Please sign in to comment.