mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-17 10:18:20 +00:00
9 lines
196 B
Rust
9 lines
196 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
#![deny(items_after_statements)]
|
|
|
|
fn main() {
|
|
foo();
|
|
fn foo() { println!("foo"); } //~ ERROR adding items after statements is confusing
|
|
foo();
|
|
}
|