diff options
Diffstat (limited to 'src/test/ui/rfc-2632-const-trait-impl/super-traits.rs')
-rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/super-traits.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/super-traits.rs b/src/test/ui/rfc-2632-const-trait-impl/super-traits.rs index aded4ca9a..df96f6fb4 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/super-traits.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/super-traits.rs @@ -1,9 +1,12 @@ // check-pass #![feature(const_trait_impl)] +#[const_trait] trait Foo { fn a(&self); } + +#[const_trait] trait Bar: ~const Foo {} struct S; |