Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Feature gate in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
withoutboats committed Apr 24, 2017
1 parent 95ffda1 commit 5dc43d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/compile-fail/object-safety-associated-consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5dc43d2

Please sign in to comment.