]> git.lizzy.rs Git - rust.git/blob - tests/ui-toml/toml_disallow/conf_french_disallowed_name.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[rust.git] / tests / ui-toml / toml_disallow / conf_french_disallowed_name.rs
1 #![allow(dead_code)]
2 #![allow(clippy::single_match)]
3 #![allow(unused_variables)]
4 #![warn(clippy::disallowed_names)]
5
6 fn test(toto: ()) {}
7
8 fn main() {
9     let toto = 42;
10     let tata = 42;
11     let titi = 42;
12
13     let tatab = 42;
14     let tatatataic = 42;
15
16     match (42, Some(1337), Some(0)) {
17         (toto, Some(tata), titi @ Some(_)) => (),
18         _ => (),
19     }
20 }