diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-28 00:20:50 +1100 | 
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-28 11:07:45 +1100 | 
| commit | cb02a370428afaae76db59080befe88b8c97e14d (patch) | |
| tree | c967e91a172af8042410e066d1128357206105a8 /src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs | |
| parent | b0280ac5385433bd663e825e24f6990a816a5f40 (diff) | |
| download | rust-cb02a370428afaae76db59080befe88b8c97e14d.tar.gz rust-cb02a370428afaae76db59080befe88b8c97e14d.zip | |
syntax: make deriving have slightly less cryptic error messages.
This unfortunately changes an error like
    error: mismatched types: expected `&&NotClone` but found `&NotClone`
into
    error: type `NotClone` does not implement any method in scope named `clone`
Diffstat (limited to 'src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs')
| -rw-r--r-- | src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs b/src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs index 22c9351e13a..8e55609a515 100644 --- a/src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs +++ b/src/test/compile-fail/deriving-span-TotalEq-enum-struct-variant.rs @@ -20,7 +20,6 @@ struct Error; enum Enum { A { x: Error //~ ERROR -//~^ ERROR } } | 
