]> git.lizzy.rs Git - rust.git/blob - src/test/ui/trivial-bounds/trivial-bounds-inconsistent-projection-error.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / trivial-bounds / trivial-bounds-inconsistent-projection-error.stderr
1 error[E0308]: mismatched types
2   --> $DIR/trivial-bounds-inconsistent-projection-error.rs:30:5
3    |
4 LL | fn global_bound_is_hidden() -> u8
5    |                                -- expected `u8` because of return type
6 ...
7 LL |     B::get_x() //~ ERROR
8    |     ^^^^^^^^^^ expected u8, found i32
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.