* In the case of `derive-same-struct`, it seemed cleaner to add the
output than to try to modify the macro itself (which is where the
output is coming from).
* In the case of `custom-derive-partial-eq`, it was just easier to add
the output than to attempt to port the test to use a procedural
macro.
--- /dev/null
+warning: `#[derive]` for custom traits is deprecated and will be removed in the future. Prefer using procedural macro custom derive.
+ --> $DIR/custom-derive-partial-eq.rs:17:10
+ |
+LL | #[derive(CustomPartialEq)] // Check that this is not a stability error.
+ | ^^^^^^^^^^^^^^^
+
--- /dev/null
+input1: "struct A;"