mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-25 04:23:22 +00:00
13 lines
288 B
Rust
13 lines
288 B
Rust
|
|
|
|
|
|
#![warn(duplicate_underscore_argument)]
|
|
#[allow(dead_code, unused)]
|
|
|
|
fn join_the_dark_side(darth: i32, _darth: i32) {}
|
|
fn join_the_light_side(knight: i32, _master: i32) {} // the Force is strong with this one
|
|
|
|
fn main() {
|
|
join_the_dark_side(0, 0);
|
|
join_the_light_side(0, 0);
|
|
}
|