]> git.lizzy.rs Git - rust.git/blob - tests/ui/item_after_statement.rs
remove all //~ from tests
[rust.git] / tests / ui / item_after_statement.rs
1 #![feature(plugin)]
2 #![plugin(clippy)]
3 #![deny(items_after_statements)]
4
5 fn ok() {
6     fn foo() { println!("foo"); }
7     foo();
8 }
9
10 fn last() {
11     foo();
12     fn foo() { println!("foo"); }
13 }
14
15 fn main() {
16     foo();
17     fn foo() { println!("foo"); }
18     foo();
19 }