mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-13 14:52:46 +00:00
9 lines
202 B
Rust
9 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();
|
||
|
}
|