]> git.lizzy.rs Git - rust.git/blob - tests/ui/duplicate_underscore_argument.rs
Merge pull request #1520 from Manishearth/rustup
[rust.git] / tests / ui / duplicate_underscore_argument.rs
1 #![feature(plugin)]
2 #![plugin(clippy)]
3
4 #![deny(duplicate_underscore_argument)]
5 #[allow(dead_code, unused)]
6
7 fn join_the_dark_side(darth: i32, _darth: i32) {}
8 fn join_the_light_side(knight: i32, _master: i32) {} // the Force is strong with this one
9
10 fn main() {
11     join_the_dark_side(0, 0);
12     join_the_light_side(0, 0);
13 }