diff options
Diffstat (limited to 'src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs')
-rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs b/src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs index cf38bc3c9..b64161b6a 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-pass.rs @@ -21,6 +21,7 @@ impl const PartialEq for Int { } } +#[const_trait] pub trait Plus { fn plus(self, rhs: Self) -> Self; } |