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 = help: the trait `Trait<2>` is implemented for `u32`
8 = note: required for the cast from `u32` to the object type `dyn Trait`
10 error[E0277]: the trait bound `bool: Traitor<_>` is not satisfied
11 --> $DIR/trait_objects_fail.rs:28:9
14 | ^^^^^ the trait `Traitor<_>` is not implemented for `bool`
16 = help: the trait `Traitor<2, 3>` is implemented for `bool`
17 = note: required for the cast from `bool` to the object type `dyn Traitor<_>`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0277`.