summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/print_stderr.rs
blob: fa07e74a7be47ef865870592b5e5e72d5dca284a (plain)
1
2
3
4
5
6
7
8
#![warn(clippy::print_stderr)]

fn main() {
    eprintln!("Hello");
    println!("This should not do anything");
    eprint!("World");
    print!("Nor should this");
}