diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/derives/derives-span-PartialEq-tuple-struct.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/derives/derives-span-PartialEq-tuple-struct.rs b/src/test/ui/derives/derives-span-PartialEq-tuple-struct.rs new file mode 100644 index 000000000..eaa628311 --- /dev/null +++ b/src/test/ui/derives/derives-span-PartialEq-tuple-struct.rs @@ -0,0 +1,12 @@ +// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py' + + +struct Error; + +#[derive(PartialEq)] +struct Struct( + Error //~ ERROR +//~^ ERROR +); + +fn main() {} |