X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fconst-generics%2Ftype-dependent%2Fauxiliary%2Ftype_dependent_lib.rs;h=aa85376bf0d75268a0a898bca3423d317acc705c;hb=5e188f5803bdbfdf3ff000e8b7e266405531c8d7;hp=c8db91b62b58c0f64a104563026c0dfbe72a489a;hpb=31121cbec3a341cfc7b2823f30e8a52c11b06047;p=rust.git 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(());