about summary refs log tree commit diff
path: root/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
diff options
context:
space:
mode:
authorkadmin <julianknodt@gmail.com>2020-08-09 05:01:19 +0000
committerkadmin <julianknodt@gmail.com>2020-08-12 08:30:17 +0000
commitbe650a7ecd57100b3f6348bed37fd9c6cc6b60bb (patch)
tree6a373e2ab26fa6a6bc46c5bcea591040060b5068 /src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
parentc94ed5ca91f1363b66970ce2cbd6e2773e3cb1d3 (diff)
downloadrust-be650a7ecd57100b3f6348bed37fd9c6cc6b60bb.tar.gz
rust-be650a7ecd57100b3f6348bed37fd9c6cc6b60bb.zip
Add a bunch of revisions
This adds a bunch of revisions to const-generic tests
Diffstat (limited to 'src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs')
-rw-r--r--src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs b/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
index 1aed9cfe927..e041e9709d0 100644
--- a/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
+++ b/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
@@ -1,7 +1,9 @@
 // run-pass
+// revisions: full min
 
-#![feature(const_generics)]
-//~^ WARN the feature `const_generics` is incomplete
+#![cfg_attr(full, feature(const_generics))]
+#![cfg_attr(full, allow(incomplete_features))]
+#![cfg_attr(min, feature(min_const_generics))]
 
 use std::mem::MaybeUninit;