]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/nullable-pointer-iotareduction.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / nullable-pointer-iotareduction.rs
index f9edba6743499dddcfe13e4ea0e8b5095cf3a2bf..d345fec811854890fdbaa09ab69d8f0fca29778d 100644 (file)
@@ -8,7 +8,7 @@
 // trying to get assert failure messages that at least identify which case
 // failed.
 
-enum E<T> { Thing(isize, T), Nothing((), ((), ()), [i8; 0]) }
+enum E<T> { Thing(isize, T), #[allow(unused_tuple_struct_fields)] Nothing((), ((), ()), [i8; 0]) }
 impl<T> E<T> {
     fn is_none(&self) -> bool {
         match *self {