Adjust compiler tests for unused_tuple_struct_fields -> dead_code
This commit is contained in:
parent
5772818dc8
commit
53eca9fa87
166 changed files with 223 additions and 209 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue