summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/issue-46576.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/unused/issue-46576.stderr')
-rw-r--r--tests/ui/lint/unused/issue-46576.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/lint/unused/issue-46576.stderr b/tests/ui/lint/unused/issue-46576.stderr
new file mode 100644
index 000000000..6f4d97068
--- /dev/null
+++ b/tests/ui/lint/unused/issue-46576.stderr
@@ -0,0 +1,14 @@
+error: unused import: `BufRead`
+ --> $DIR/issue-46576.rs:5:15
+ |
+LL | use std::io::{BufRead, BufReader, Read};
+ | ^^^^^^^
+ |
+note: the lint level is defined here
+ --> $DIR/issue-46576.rs:2:9
+ |
+LL | #![deny(unused_imports)]
+ | ^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+