fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
579 B18 linesraw
1error[E0277]: the trait bound `i32: Bar<u32>` is not satisfied
2  --> $DIR/cross-fn-cache-hole.rs:15:1
3   |
4LL | / fn vacuous<A>()
5LL | |     where i32: Foo<u32, A>
6LL | | {
7LL | |     // ... the original intention was to check that we don't use that
8...  |
9LL | |     require::<i32, u32>();
10LL | | }
11   | |_^ the trait `Bar<u32>` is not implemented for `i32`
12   |
13   = help: see issue #48214
14   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0277`.