]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/impl_trait_for_tait_bound.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / type-alias-impl-trait / impl_trait_for_tait_bound.stderr
1 error[E0277]: the trait bound `u32: Yay` is not satisfied
2   --> $DIR/impl_trait_for_tait_bound.rs:10:14
3    |
4 LL |     is_yay::<u32>();
5    |              ^^^ the trait `Yay` is not implemented for `u32`
6    |
7    = help: the trait `Yay` is implemented for `Foo`
8 note: required by a bound in `is_yay`
9   --> $DIR/impl_trait_for_tait_bound.rs:16:14
10    |
11 LL | fn is_yay<T: Yay>() { }
12    |              ^^^ required by this bound in `is_yay`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.