2016-02-22 15:42:24 +01:00
|
|
|
#![allow(dead_code)]
|
2018-08-01 22:38:04 +02:00
|
|
|
#![allow(clippy::single_match)]
|
2016-02-22 15:42:24 +01:00
|
|
|
#![allow(unused_variables)]
|
2022-06-08 20:08:37 +01:00
|
|
|
#![warn(clippy::disallowed_names)]
|
2016-02-22 15:42:24 +01:00
|
|
|
|
2017-02-08 14:58:07 +01:00
|
|
|
fn test(toto: ()) {}
|
2016-02-22 15:42:24 +01:00
|
|
|
|
|
|
|
fn main() {
|
2017-02-08 14:58:07 +01:00
|
|
|
let toto = 42;
|
|
|
|
let tata = 42;
|
|
|
|
let titi = 42;
|
2016-02-22 15:42:24 +01:00
|
|
|
|
|
|
|
let tatab = 42;
|
|
|
|
let tatatataic = 42;
|
|
|
|
|
|
|
|
match (42, Some(1337), Some(0)) {
|
|
|
|
(toto, Some(tata), titi @ Some(_)) => (),
|
|
|
|
_ => (),
|
|
|
|
}
|
|
|
|
}
|