about summary refs log tree commit diff
path: root/tests/ui/const-generics/defaults/default-annotation.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-10-16 13:11:26 -0700
committerDavid Tolnay <dtolnay@gmail.com>2023-10-23 13:04:47 -0700
commit6a02e20fb5e80f1d05070af0cb2b0f85185a62d0 (patch)
tree0b84883663eb0d12e1db8c39213ddd44ee9b74df /tests/ui/const-generics/defaults/default-annotation.rs
parent82ed3f5e8b65291d4861f62f8c9c5bc8630e42b2 (diff)
downloadrust-6a02e20fb5e80f1d05070af0cb2b0f85185a62d0.tar.gz
rust-6a02e20fb5e80f1d05070af0cb2b0f85185a62d0.zip
Update `since` stability attributes in tests
Diffstat (limited to 'tests/ui/const-generics/defaults/default-annotation.rs')
-rw-r--r--tests/ui/const-generics/defaults/default-annotation.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/const-generics/defaults/default-annotation.rs b/tests/ui/const-generics/defaults/default-annotation.rs
index 7a9f5732f7f..587ad78e298 100644
--- a/tests/ui/const-generics/defaults/default-annotation.rs
+++ b/tests/ui/const-generics/defaults/default-annotation.rs
@@ -4,12 +4,12 @@
 // FIXME(const_generics_defaults): It seems like we aren't testing the right thing here,
 // I would assume that we want the attributes to apply to the const parameter defaults
 // themselves.
-#![stable(feature = "const_default_test", since="none")]
+#![stable(feature = "const_default_test", since = "3.3.3")]
 
-#[unstable(feature = "const_default_stable", issue="none")]
+#[unstable(feature = "const_default_stable", issue = "none")]
 pub struct ConstDefaultUnstable<const N: usize = 3>;
 
-#[stable(feature = "const_default_unstable", since="none")]
+#[stable(feature = "const_default_unstable", since = "3.3.3")]
 pub struct ConstDefaultStable<const N: usize = {
     3
 }>;