]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-PartialOrd-tuple-struct.rs
Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup
[rust.git] / src / test / ui / derives / derives-span-PartialOrd-tuple-struct.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 struct Struct(
8     Error //~ ERROR can't compare `Error` with `Error`
9           //~| ERROR can't compare `Error` with `Error`
10           //~| ERROR can't compare `Error` with `Error`
11           //~| ERROR can't compare `Error` with `Error`
12           //~| ERROR can't compare `Error` with `Error`
13 );
14
15 fn main() {}