]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-PartialOrd-enum.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / 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() {}