Skip to content

Commit 617dd0a

Browse files
committed
Fix commas.
1 parent 9e42d3e commit 617dd0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_typeck/astconv.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3080,7 +3080,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
30803080
tcx.sess,
30813081
decl.output.span(),
30823082
E0581,
3083-
"return type references {} which is not constrained by the fn input types",
3083+
"return type references {}, which is not constrained by the fn input types",
30843084
br_name
30853085
)
30863086
});

src/test/ui/issues/issue-47511.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types
1+
error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types
22
--> $DIR/issue-47511.rs:5:15
33
|
44
LL | fn f(_: X) -> X {

0 commit comments

Comments
 (0)