diff options
Diffstat (limited to 'src/test/ui/const-generics/defaults/default-annotation.rs')
| -rw-r--r-- | src/test/ui/const-generics/defaults/default-annotation.rs | 17 | 
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/const-generics/defaults/default-annotation.rs b/src/test/ui/const-generics/defaults/default-annotation.rs deleted file mode 100644 index 7a9f5732f7f..00000000000 --- a/src/test/ui/const-generics/defaults/default-annotation.rs +++ /dev/null @@ -1,17 +0,0 @@ -// run-pass -#![feature(staged_api)] -#![allow(incomplete_features)] -// 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")] - -#[unstable(feature = "const_default_stable", issue="none")] -pub struct ConstDefaultUnstable<const N: usize = 3>; - -#[stable(feature = "const_default_unstable", since="none")] -pub struct ConstDefaultStable<const N: usize = { - 3 -}>; - -fn main() {}  | 
