mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
12 lines
190 B
Rust
12 lines
190 B
Rust
|
#![feature(plugin)]
|
||
|
#![plugin(clippy)]
|
||
|
|
||
|
#[deny(print_stdout)]
|
||
|
|
||
|
fn main() {
|
||
|
println!("Hello"); //~ERROR use of `println!`
|
||
|
print!("Hello"); //~ERROR use of `print!`
|
||
|
|
||
|
vec![1, 2];
|
||
|
}
|