]> git.proxmox.com Git - rustc.git/blame - tests/ui/rfcs/rfc-2632-const-trait-impl/cross-crate.gatednc.stderr
New upstream version 1.73.0+dfsg1
[rustc.git] / tests / ui / rfcs / rfc-2632-const-trait-impl / cross-crate.gatednc.stderr
CommitLineData
064997fb 1error[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 |
4LL | 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
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0277`.