]> git.proxmox.com Git - rustc.git/blob - src/test/ui/derives/derives-span-PartialOrd-struct.rs
New upstream version 1.42.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-PartialOrd-struct.rs
1 // FIXME: missing sysroot spans (#53081)
2 // ignore-i586-unknown-linux-gnu
3 // ignore-i586-unknown-linux-musl
4 // ignore-i686-unknown-linux-musl
5 // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
6
7 #[derive(PartialEq)]
8 struct Error;
9
10 #[derive(PartialOrd,PartialEq)]
11 struct Struct {
12 x: Error //~ ERROR can't compare `Error` with `Error`
13 //~| ERROR can't compare `Error` with `Error`
14 //~| ERROR can't compare `Error` with `Error`
15 //~| ERROR can't compare `Error` with `Error`
16 //~| ERROR can't compare `Error` with `Error`
17 }
18
19 fn main() {}