1 error[E0379]: trait fns cannot be declared const
2 --> $DIR/const-fn-in-trait.rs:17:5
5 | ^^^^^ trait fns cannot be const
7 error[E0379]: trait fns cannot be declared const
8 --> $DIR/const-fn-in-trait.rs:21:5
10 21 | const fn f() -> u32 { 22 }
11 | ^^^^^ trait fns cannot be const
13 error: aborting due to 2 previous errors