1 error[E0277]: the trait bound `ThisImplsUnsafeTrait: MyTrait` is not satisfied
2 --> $DIR/typeck-default-trait-impl-negation.rs:22:19
4 LL | is_my_trait::<ThisImplsUnsafeTrait>();
5 | ^^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `ThisImplsUnsafeTrait`
7 note: required by a bound in `is_my_trait`
8 --> $DIR/typeck-default-trait-impl-negation.rs:17:19
10 LL | fn is_my_trait<T: MyTrait>() {}
11 | ^^^^^^^ required by this bound in `is_my_trait`
13 error[E0277]: the trait bound `ThisImplsTrait: MyUnsafeTrait` is not satisfied
14 --> $DIR/typeck-default-trait-impl-negation.rs:25:26
16 LL | is_my_unsafe_trait::<ThisImplsTrait>();
17 | ^^^^^^^^^^^^^^ the trait `MyUnsafeTrait` is not implemented for `ThisImplsTrait`
19 note: required by a bound in `is_my_unsafe_trait`
20 --> $DIR/typeck-default-trait-impl-negation.rs:18:26
22 LL | fn is_my_unsafe_trait<T: MyUnsafeTrait>() {}
23 | ^^^^^^^^^^^^^ required by this bound in `is_my_unsafe_trait`
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0277`.