error: ~const can only be applied to `#[const_trait]` traits --> $DIR/non-const-op-in-closure-in-const.rs:10:51 | LL | impl const Convert for A where B: ~const From { | ^^^^^^^ error: aborting due to previous error