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