mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
9 lines
239 B
Rust
9 lines
239 B
Rust
#![warn(clippy::duplicate_underscore_argument)]
|
|
|
|
fn join_the_dark_side(darth: i32, _darth: i32) {}
|
|
//~^ duplicate_underscore_argument
|
|
|
|
fn join_the_light_side(knight: i32, _master: i32) {} // the Force is strong with this one
|
|
|
|
fn main() {}
|