Feature gate in test.

This commit is contained in:
Without Boats 2017-04-24 02:42:36 -07:00
parent 95ffda1e9e
commit 5dc43d272d
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}