]> git.lizzy.rs Git - rust.git/blob - tests/ui/cross/cross-fn-cache-hole.stderr
Rollup merge of #107102 - compiler-errors:new-solver-new-candidats-4, r=lcnr
[rust.git] / tests / ui / cross / cross-fn-cache-hole.stderr
1 error[E0277]: the trait bound `i32: Bar<u32>` is not satisfied
2   --> $DIR/cross-fn-cache-hole.rs:16:11
3    |
4 LL |     where i32: Foo<u32, A>
5    |           ^^^^^^^^^^^^^^^^ the trait `Bar<u32>` is not implemented for `i32`
6    |
7    = help: see issue #48214
8    = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.