5 clippy::blacklisted_name
7 #![warn(clippy::useless_let_if_seq)]
16 fn issue985() -> i32 {
25 fn issue985_alt() -> i32 {
36 fn issue975() -> String {
37 let mut udn = "dummy".to_string();
38 if udn.starts_with("uuid:") {
39 udn = String::from(&udn[5..]);
44 fn early_return() -> u8 {
45 // FIXME: we could extend the lint to include such cases:
83 // `toto` is used several times
95 // found in libcore, the inner if is not a statement but the block's expr
104 // baz needs to be mut