summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/closure-no-fn-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/closure-no-fn-2.stderr')
-rw-r--r--tests/ui/closures/closure-no-fn-2.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/closures/closure-no-fn-2.stderr b/tests/ui/closures/closure-no-fn-2.stderr
index 7c7e9d0ce..06682fcc2 100644
--- a/tests/ui/closures/closure-no-fn-2.stderr
+++ b/tests/ui/closures/closure-no-fn-2.stderr
@@ -14,6 +14,6 @@ note: closures can only be coerced to `fn` types if they do not capture any vari
LL | let bar: fn() -> u8 = || { b };
| ^ `b` 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`.