summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/impl_trait_for_tait_bound.stderr
blob: 1c83105a18affe735ab0032e4488304f04848119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0277]: the trait bound `u32: Yay` is not satisfied
  --> $DIR/impl_trait_for_tait_bound.rs:10:14
   |
LL |     is_yay::<u32>();
   |              ^^^ the trait `Yay` is not implemented for `u32`
   |
   = help: the trait `Yay` is implemented for `Foo`
note: required by a bound in `is_yay`
  --> $DIR/impl_trait_for_tait_bound.rs:16:14
   |
LL | fn is_yay<T: Yay>() { }
   |              ^^^ required by this bound in `is_yay`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.