summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/argument_order.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/argument_order.rs')
-rw-r--r--src/test/ui/const-generics/argument_order.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/const-generics/argument_order.rs b/src/test/ui/const-generics/argument_order.rs
deleted file mode 100644
index 196d9b8a1..000000000
--- a/src/test/ui/const-generics/argument_order.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-struct Bad<const N: usize, T> {
- arr: [u8; { N }],
- another: T,
-}
-
-struct AlsoBad<const N: usize, 'a, T, 'b, const M: usize, U> {
- //~^ ERROR lifetime parameters must be declared prior
- a: &'a T,
- b: &'b U,
-}
-
-fn main() {
- let _: AlsoBad<7, 'static, u32, 'static, 17, u16>;
- //~^ ERROR lifetime provided when a type was expected
- }