summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/closure-no-fn-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/closure-no-fn-1.stderr')
-rw-r--r--tests/ui/closures/closure-no-fn-1.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/closures/closure-no-fn-1.stderr b/tests/ui/closures/closure-no-fn-1.stderr
index 87e670bb0..8fab92e9b 100644
--- a/tests/ui/closures/closure-no-fn-1.stderr
+++ b/tests/ui/closures/closure-no-fn-1.stderr
@@ -14,6 +14,6 @@ note: closures can only be coerced to `fn` types if they do not capture any vari
LL | let foo: fn(u8) -> u8 = |v: u8| { a += v; a };
| ^ `a` captured here
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.