about summary refs log tree commit diff
path: root/src/test/ui/const-generics/array-wrapper-struct-ctor.rs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-08-31 15:22:38 +0200
committerGitHub <noreply@github.com>2020-08-31 15:22:38 +0200
commit4e2a25d759d3e014dc5e47872d8cff2a4a821b08 (patch)
tree3087e716db067672db8eaec435103c648f5e7594 /src/test/ui/const-generics/array-wrapper-struct-ctor.rs
parent3b4797cb598260b96dd8d6e47cd429210e14c1f6 (diff)
parent668f63d83302c858dfae998e22fe3881d56d4e52 (diff)
downloadrust-4e2a25d759d3e014dc5e47872d8cff2a4a821b08.tar.gz
rust-4e2a25d759d3e014dc5e47872d8cff2a4a821b08.zip
Rollup merge of #75938 - Amjad50:min_const_generics-tests-revisions, r=lcnr
Added some `min_const_generics` revisions into `const_generics` tests

Help in #75279. still a lot more to cover though

r? @lcnr
Diffstat (limited to 'src/test/ui/const-generics/array-wrapper-struct-ctor.rs')
-rw-r--r--src/test/ui/const-generics/array-wrapper-struct-ctor.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/ui/const-generics/array-wrapper-struct-ctor.rs b/src/test/ui/const-generics/array-wrapper-struct-ctor.rs
index 49fc53b32bd..390b6cc2049 100644
--- a/src/test/ui/const-generics/array-wrapper-struct-ctor.rs
+++ b/src/test/ui/const-generics/array-wrapper-struct-ctor.rs
@@ -1,7 +1,8 @@
 // run-pass
-
-#![feature(const_generics)]
-//~^ WARN the feature `const_generics` is incomplete
+// revisions: full min
+#![cfg_attr(full, feature(const_generics))]
+#![cfg_attr(full, allow(incomplete_features))]
+#![cfg_attr(min, feature(min_const_generics))]
 
 #![allow(dead_code)]