]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/derives-span-PartialOrd-enum.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / derives / derives-span-PartialOrd-enum.rs
CommitLineData
1a4d82fc 1// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
223e47cc 2
1a4d82fc
JJ
3#[derive(PartialEq)]
4struct Error;
223e47cc 5
1a4d82fc
JJ
6#[derive(PartialOrd,PartialEq)]
7enum Enum {
8 A(
dfeec247 9 Error //~ ERROR can't compare `Error` with `Error`
1a4d82fc 10 )
223e47cc 11}
1a4d82fc
JJ
12
13fn main() {}