21 lines
368 B
Rust
21 lines
368 B
Rust
#![allow(dead_code)]
|
|
#![allow(clippy::single_match)]
|
|
#![allow(unused_variables)]
|
|
#![warn(clippy::disallowed_names)]
|
|
|
|
fn test(toto: ()) {}
|
|
|
|
fn main() {
|
|
let toto = 42;
|
|
let tata = 42;
|
|
let titi = 42;
|
|
|
|
let tatab = 42;
|
|
let tatatataic = 42;
|
|
|
|
match (42, Some(1337), Some(0)) {
|
|
(toto, Some(tata), titi @ Some(_)) => (),
|
|
_ => (),
|
|
}
|
|
}
|