]> git.lizzy.rs Git - rust.git/blob - tests/ui/derives/derives-span-PartialOrd-enum.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / derives / derives-span-PartialOrd-enum.rs
1 // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
2
3 #[derive(PartialEq)]
4 struct Error;
5
6 #[derive(PartialOrd,PartialEq)]
7 enum Enum {
8    A(
9      Error //~ ERROR can't compare `Error` with `Error`
10      )
11 }
12
13 fn main() {}