Feature-gate associated constants.
This commit is contained in:
parent
29eb550ee6
commit
b1db4ec3d0
23 changed files with 95 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue