1
Fork 0

Feature-gate associated constants.

This commit is contained in:
Sean Patrick Santos 2015-03-26 13:06:26 -06:00
parent 29eb550ee6
commit b1db4ec3d0
23 changed files with 95 additions and 1 deletions

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(associated_consts)]
trait Foo {
fn bar(&self);
const MY_CONST: u32;