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