2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-03-01 05:47:25 +00:00
rust-clippy/tests/ui/explicit_write_non_rustfix.rs

8 lines
202 B
Rust

#![allow(unused_imports, clippy::blacklisted_name)]
#![warn(clippy::explicit_write)]
fn main() {
use std::io::Write;
let bar = "bar";
writeln!(std::io::stderr(), "foo {}", bar).unwrap();
}