diff options
| author | Hameer Abbasi <einstein.edison@gmail.com> | 2020-09-11 11:48:44 +0200 |
|---|---|---|
| committer | Hameer Abbasi <einstein.edison@gmail.com> | 2020-09-11 11:48:44 +0200 |
| commit | 5e188f5803bdbfdf3ff000e8b7e266405531c8d7 (patch) | |
| tree | 786ee63c4ed27fb099595f26e603246cae110401 | |
| parent | 9abc6bd28df390279b9f477538a778edf38ffd80 (diff) | |
| download | rust-5e188f5803bdbfdf3ff000e8b7e266405531c8d7.tar.gz rust-5e188f5803bdbfdf3ff000e8b7e266405531c8d7.zip | |
Add revisions to const generic type-dependent UI tests.
| -rw-r--r-- | src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs b/src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs index c8db91b62b5..aa85376bf0d 100644 --- a/src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs +++ b/src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs @@ -1,5 +1,6 @@ -#![feature(const_generics)] -#![allow(incomplete_features)] +#![cfg_attr(full, feature(const_generics))] +#![cfg_attr(full, allow(incomplete_features))] +#![cfg_attr(min, feature(min_const_generics))] pub struct Struct<const N: usize>(()); |
