about summary refs log tree commit diff
path: root/tests/ui/consts/issue-17718-constants-not-static.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-17718-constants-not-static.stderr')
-rw-r--r--tests/ui/consts/issue-17718-constants-not-static.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-17718-constants-not-static.stderr b/tests/ui/consts/issue-17718-constants-not-static.stderr
index 8f3acae7139..42d2a9acdc7 100644
--- a/tests/ui/consts/issue-17718-constants-not-static.stderr
+++ b/tests/ui/consts/issue-17718-constants-not-static.stderr
@@ -7,6 +7,6 @@ LL | fn foo() -> &'static usize { &id(FOO) }
    |                              |temporary value created here
    |                              returns a reference to data owned by the current function
 
-error: aborting due to previous error
+error: aborting due to 1 previous error
 
 For more information about this error, try `rustc --explain E0515`.