]> git.lizzy.rs Git - rust.git/blob - tests/ui/derives/derives-span-Ord-enum-struct-variant.rs
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / derives / derives-span-Ord-enum-struct-variant.rs
1 // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
2
3 #[derive(Eq,PartialOrd,PartialEq)]
4 struct Error;
5
6 #[derive(Ord,Eq,PartialOrd,PartialEq)]
7 enum Enum {
8    A {
9      x: Error //~ ERROR
10    }
11 }
12
13 fn main() {}