summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unused-crate-deps/warn-cmdline.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/unused-crate-deps/warn-cmdline.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/unused-crate-deps/warn-cmdline.stderr b/src/test/ui/unused-crate-deps/warn-cmdline.stderr
new file mode 100644
index 000000000..ea675ba9a
--- /dev/null
+++ b/src/test/ui/unused-crate-deps/warn-cmdline.stderr
@@ -0,0 +1,10 @@
+warning: external crate `bar` unused in `warn_cmdline`: remove the dependency or add `use bar as _;`
+ --> $DIR/warn-cmdline.rs:8:1
+ |
+LL | fn main() {}
+ | ^
+ |
+ = note: requested on the command line with `-W unused-crate-dependencies`
+
+warning: 1 warning emitted
+