diff options
| author | Amjad Alsharafi <amjadsharafi10@gmail.com> | 2020-08-26 18:22:55 +0800 | 
|---|---|---|
| committer | Amjad Alsharafi <amjadsharafi10@gmail.com> | 2020-08-26 18:50:17 +0800 | 
| commit | d39cc45cf251be63f3066c6002d409274aa9d2a4 (patch) | |
| tree | c04edc6bf82f8c2d5ad8cd69659ad21bc75839ac /src/test/ui/const-generics/array-wrapper-struct-ctor.rs | |
| parent | bf4342114e357f2934d59e12e31e94532ddb2adf (diff) | |
| download | rust-d39cc45cf251be63f3066c6002d409274aa9d2a4.tar.gz rust-d39cc45cf251be63f3066c6002d409274aa9d2a4.zip | |
Added a lot of min_const_generics revisions
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.rs | 7 | 
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)] | 
