mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
11 lines
293 B
Rust
11 lines
293 B
Rust
#![warn(clippy::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);
|
|
}
|