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