1 error[E0277]: the trait bound `NonConstImpl: ~const ConstDefaultFn` is not satisfied
2 --> $DIR/const-default-method-bodies.rs:24:18
5 | ^ the trait `~const ConstDefaultFn` is not implemented for `NonConstImpl`
7 note: the trait `ConstDefaultFn` is implemented for `NonConstImpl`, but that implementation is not `const`
8 --> $DIR/const-default-method-bodies.rs:24:18
10 LL | NonConstImpl.a();
12 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
14 LL | const fn test() where NonConstImpl: ~const ConstDefaultFn {
15 | +++++++++++++++++++++++++++++++++++++++++
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.