Skip to content

Commit 5e188f5

Browse files
committed
Add revisions to const generic type-dependent UI tests.
1 parent 9abc6bd commit 5e188f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/ui/const-generics/type-dependent/auxiliary/type_dependent_lib.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#![feature(const_generics)]
2-
#![allow(incomplete_features)]
1+
#![cfg_attr(full, feature(const_generics))]
2+
#![cfg_attr(full, allow(incomplete_features))]
3+
#![cfg_attr(min, feature(min_const_generics))]
34

45
pub struct Struct<const N: usize>(());
56

0 commit comments

Comments
 (0)