1
Fork 0

Adjust compiler tests for unused_tuple_struct_fields -> dead_code

This commit is contained in:
Jake Goulding 2023-12-27 17:11:58 -05:00
parent 5772818dc8
commit 53eca9fa87
166 changed files with 223 additions and 209 deletions

View file

@ -8,7 +8,7 @@
// trying to get assert failure messages that at least identify which case
// failed.
enum E<T> { Thing(isize, T), #[allow(unused_tuple_struct_fields)] Nothing((), ((), ()), [i8; 0]) }
enum E<T> { Thing(isize, T), #[allow(dead_code)] Nothing((), ((), ()), [i8; 0]) }
impl<T> E<T> {
fn is_none(&self) -> bool {
match *self {