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