1 error[E0379]: functions in traits cannot be declared const
2 --> $DIR/feature-gate-min_const_fn.rs:6:5
4 LL | const fn foo() -> u32;
5 | ^^^^^ functions in traits cannot be const
7 error[E0379]: functions in traits cannot be declared const
8 --> $DIR/feature-gate-min_const_fn.rs:7:5
10 LL | const fn bar() -> u32 { 0 }
11 | ^^^^^ functions in traits cannot be const
13 error[E0379]: functions in traits cannot be declared const
14 --> $DIR/feature-gate-min_const_fn.rs:11:5
16 LL | const fn foo() -> u32 { 0 }
17 | ^^^^^ functions in traits cannot be const
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0379`.