Feature gate in test.
This commit is contained in:
parent
95ffda1e9e
commit
5dc43d272d
@ -11,6 +11,8 @@
|
||||
// Check that we correctly prevent users from making trait objects
|
||||
// from traits with associated consts.
|
||||
|
||||
#![feature(associated_consts)]
|
||||
|
||||
trait Bar {
|
||||
const X: usize;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user