summaryrefslogtreecommitdiffstats
path: root/src/test/ui/stability-attribute/missing-const-stability.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/stability-attribute/missing-const-stability.rs')
-rw-r--r--src/test/ui/stability-attribute/missing-const-stability.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/stability-attribute/missing-const-stability.rs b/src/test/ui/stability-attribute/missing-const-stability.rs
index d89886af3..6eff899bf 100644
--- a/src/test/ui/stability-attribute/missing-const-stability.rs
+++ b/src/test/ui/stability-attribute/missing-const-stability.rs
@@ -19,6 +19,7 @@ impl Foo {
}
#[stable(feature = "stable", since = "1.0.0")]
+#[const_trait]
pub trait Bar {
#[stable(feature = "stable", since = "1.0.0")]
fn fun();