1 error[E0277]: the trait bound `u32: Trait` is not satisfied
2 --> $DIR/trait_objects_fail.rs:26:9
5 | --- ^^^^^^^ the trait `Trait` is not implemented for `u32`
7 | required by a bound introduced by this call
9 = help: the trait `Trait<2_u8>` is implemented for `u32`
10 = note: required for the cast to the object type `dyn Trait`
12 error[E0277]: the trait bound `bool: Traitor<{_: u8}>` is not satisfied
13 --> $DIR/trait_objects_fail.rs:28:9
16 | --- ^^^^^ the trait `Traitor<{_: u8}>` is not implemented for `bool`
18 | required by a bound introduced by this call
20 = help: the trait `Traitor<2_u8, 3_u8>` is implemented for `bool`
21 = note: required for the cast to the object type `dyn Traitor<{_: u8}>`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0277`.