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