diff options
Diffstat (limited to 'src/test/ui/derives/derives-span-PartialOrd-enum.rs')
-rw-r--r-- | src/test/ui/derives/derives-span-PartialOrd-enum.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/derives/derives-span-PartialOrd-enum.rs b/src/test/ui/derives/derives-span-PartialOrd-enum.rs deleted file mode 100644 index 4f0d794e4..000000000 --- a/src/test/ui/derives/derives-span-PartialOrd-enum.rs +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py' - -#[derive(PartialEq)] -struct Error; - -#[derive(PartialOrd,PartialEq)] -enum Enum { - A( - Error //~ ERROR can't compare `Error` with `Error` - ) -} - -fn main() {} |