@@ -356,7 +356,13 @@ error[E0277]: the trait bound `StructContainsNonTrait: Clone` is not satisfied
356356 --> tests/integration/ui/compile_fail/attr_derive.rs:38:6
357357 |
35835838 | impl StructContainsNonTrait {
359- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `StructContainsNonTrait`
359+ | ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
360+ |
361+ help: the trait `Clone` is not implemented for `StructContainsNonTrait`
362+ --> tests/integration/ui/compile_fail/attr_derive.rs:7:1
363+ |
364+ 7 | struct StructContainsNonTrait {
365+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
360366
361367error[E0277]: the trait bound `NoTraitImpls: Clone` is not satisfied
362368 --> tests/integration/ui/compile_fail/attr_derive.rs:43:49
@@ -425,8 +431,13 @@ error[E0277]: `StructContainsNonTrait` doesn't implement `Debug`
425431 --> tests/integration/ui/compile_fail/attr_derive.rs:38:6
426432 |
42743338 | impl StructContainsNonTrait {
428- | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `StructContainsNonTrait`
434+ | ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
435+ |
436+ help: the trait `Debug` is not implemented for `StructContainsNonTrait`
437+ --> tests/integration/ui/compile_fail/attr_derive.rs:7:1
429438 |
439+ 7 | struct StructContainsNonTrait {
440+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430441 = note: add `#[derive(Debug)]` to `StructContainsNonTrait` or manually `impl Debug for StructContainsNonTrait`
431442note: required by a bound in `as_dyn_debug`
432443 --> src/__/better_errors.rs
0 commit comments