diff options
| author | Steven Malis <smmalis37@gmail.com> | 2020-07-25 02:47:16 -0700 |
|---|---|---|
| committer | Steven Malis <smmalis37@gmail.com> | 2020-07-25 02:47:16 -0700 |
| commit | 617dd0a8b9d848f468bc762bd12adc4f2a4af3cb (patch) | |
| tree | e63fbcddd91fae56b0e90cf8c28f3f9a6ddc97b2 | |
| parent | 9e42d3e43494c3cef646dacafa9908d7413c8e53 (diff) | |
| download | rust-617dd0a8b9d848f468bc762bd12adc4f2a4af3cb.tar.gz rust-617dd0a8b9d848f468bc762bd12adc4f2a4af3cb.zip | |
Fix commas.
| -rw-r--r-- | src/librustc_typeck/astconv.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-47511.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/astconv.rs b/src/librustc_typeck/astconv.rs index ccacd7a6aba..21b5f5c9033 100644 --- a/src/librustc_typeck/astconv.rs +++ b/src/librustc_typeck/astconv.rs @@ -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 ) }); diff --git a/src/test/ui/issues/issue-47511.stderr b/src/test/ui/issues/issue-47511.stderr index 42f2cd1bb14..4473c0e68cf 100644 --- a/src/test/ui/issues/issue-47511.stderr +++ b/src/test/ui/issues/issue-47511.stderr @@ -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 { |
