]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/range_inclusive.rs
Rollup merge of #100319 - GuillaumeGomez:rm-clean-impls-2, r=Dylan-DPC
[rust.git] / src / test / ui / range_inclusive.rs
index 7e7a15924b7653128c9c5a2db10d6d7e28fd88f9..c9107d24ed092f791c23be804c0f6d8a8aa3ec18 100644 (file)
@@ -11,7 +11,7 @@ fn foo() -> isize { 42 }
 pub fn return_range_to() -> RangeToInclusive<i32> { return ..=1; }
 
 #[derive(Debug)]
-struct P(u8);
+struct P(#[allow(unused_tuple_struct_fields)] u8);
 
 pub fn main() {
     let mut count = 0;