mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
18 lines
589 B
Plaintext
18 lines
589 B
Plaintext
error[E0277]: the trait bound `i32: Bar<u32>` is not satisfied
|
|
--> $DIR/cross-fn-cache-hole.rs:16:11
|
|
|
|
|
LL | where i32: Foo<u32, A>
|
|
| ^^^^^^^^^^^^^^^^ the trait `Bar<u32>` is not implemented for `i32`
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
--> $DIR/cross-fn-cache-hole.rs:11:1
|
|
|
|
|
LL | trait Bar<X> { }
|
|
| ^^^^^^^^^^^^
|
|
= help: see issue #48214
|
|
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|