]>
Commit | Line | Data |
---|---|---|
064997fb | 1 | error[E0277]: the trait bound `cross_crate::NonConst: ~const cross_crate::MyTrait` is not satisfied |
9c376795 | 2 | --> $DIR/cross-crate.rs:17:14 |
064997fb FG |
3 | | |
4 | LL | NonConst.func(); | |
add651ee | 5 | | ^^^^ the trait `cross_crate::MyTrait` is not implemented for `cross_crate::NonConst` |
064997fb | 6 | | |
add651ee | 7 | = help: the trait `cross_crate::MyTrait` is implemented for `cross_crate::NonConst` |
064997fb FG |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0277`. |