diff options
Diffstat (limited to 'tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs')
-rw-r--r-- | tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs b/tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs index f41574403..33c73c3db 100644 --- a/tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs +++ b/tests/ui/associated-inherent-types/bugs/cycle-iat-inside-of-adt.rs @@ -1,5 +1,7 @@ // known-bug: #108491 +#![feature(inherent_associated_types)] +#![allow(incomplete_features)] // FIXME(inherent_associated_types): This should pass. struct Foo { @@ -8,3 +10,5 @@ struct Foo { impl Foo { pub type Bar = usize; } + +fn main() {} |