]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/many_single_char_names.rs
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / many_single_char_names.rs
index 81c0427305d28f1cf85efc500c4804ef9d05535f..65769819110eb6f00b05332c7ae0b54c6ba8fa2b 100644 (file)
@@ -1,4 +1,4 @@
-#[warn(clippy::many_single_char_names)]
+#![warn(clippy::many_single_char_names)]
 
 fn bla() {
     let a: i32;
@@ -29,7 +29,7 @@ fn bla() {
 fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
 
 fn bindings2() {
-    let (a, b, c, d, e, f, g, h) = unimplemented!();
+    let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
 }
 
 fn shadowing() {