1
Fork 0
rust/src/test/ui/derives/derives-span-PartialOrd-tuple-struct.rs
Vadim Petrochenkov 642669c74d Update tests
2020-01-09 21:23:12 +03:00

19 lines
602 B
Rust

// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]
struct Error;
#[derive(PartialOrd,PartialEq)]
struct Struct(
Error //~ ERROR can't compare `Error` with `Error`
//~| ERROR can't compare `Error` with `Error`
//~| ERROR can't compare `Error` with `Error`
//~| ERROR can't compare `Error` with `Error`
//~| ERROR can't compare `Error` with `Error`
);
fn main() {}