summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/vec.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/vec.stderr')
-rw-r--r--src/tools/clippy/tests/ui/vec.stderr8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/vec.stderr b/src/tools/clippy/tests/ui/vec.stderr
index fc261838f..c9018f94f 100644
--- a/src/tools/clippy/tests/ui/vec.stderr
+++ b/src/tools/clippy/tests/ui/vec.stderr
@@ -115,5 +115,11 @@ error: useless use of `vec!`
LL | for a in vec![String::new(), String::new()] {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[String::new(), String::new()]`
-error: aborting due to 19 previous errors
+error: useless use of `vec!`
+ --> $DIR/vec.rs:196:33
+ |
+LL | this_macro_doesnt_need_vec!(vec![1]);
+ | ^^^^^^^ help: you can use an array directly: `[1]`
+
+error: aborting due to 20 previous errors