fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
587 B17 linesraw
1error[E0277]: the trait bound `i32: Bar<u32>` is not satisfied
2  --> $DIR/cross-fn-cache-hole.rs:16:11
3   |
4LL |     where i32: Foo<u32, A>
5   |           ^^^^^^^^^^^^^^^^ the trait `Bar<u32>` is not implemented for `i32`
6   |
7help: this trait has no implementations, consider adding one
8  --> $DIR/cross-fn-cache-hole.rs:11:1
9   |
10LL | trait Bar<X> { }
11   | ^^^^^^^^^^^^
12   = help: see issue #48214
13   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.