rust/tests/ui/derives/derives-span-PartialOrd-tuple-struct.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
236 B
Rust
Raw Normal View History

// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]
struct Error;
#[derive(PartialOrd,PartialEq)]
struct Struct(
2020-01-08 11:02:10 -06:00
Error //~ ERROR can't compare `Error` with `Error`
);
fn main() {}