]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-PartialOrd-tuple-struct.rs
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[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 );
10
11 fn main() {}