diff options
Diffstat (limited to 'src/test/ui/auto-traits/typeck-auto-trait-no-supertraits-2.stderr')
-rw-r--r-- | src/test/ui/auto-traits/typeck-auto-trait-no-supertraits-2.stderr | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/auto-traits/typeck-auto-trait-no-supertraits-2.stderr b/src/test/ui/auto-traits/typeck-auto-trait-no-supertraits-2.stderr deleted file mode 100644 index 4827916fa..000000000 --- a/src/test/ui/auto-traits/typeck-auto-trait-no-supertraits-2.stderr +++ /dev/null @@ -1,19 +0,0 @@ -error[E0568]: auto traits cannot have super traits or lifetime bounds - --> $DIR/typeck-auto-trait-no-supertraits-2.rs:4:17 - | -LL | auto trait Magic : Sized where Option<Self> : Magic {} - | -----^^^^^^^^ help: remove the super traits or lifetime bounds - | | - | auto trait cannot have super traits or lifetime bounds - -error[E0568]: auto traits cannot have super traits or lifetime bounds - --> $DIR/typeck-auto-trait-no-supertraits-2.rs:4:26 - | -LL | auto trait Magic : Sized where Option<Self> : Magic {} - | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the super traits or lifetime bounds - | | - | auto trait cannot have super traits or lifetime bounds - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0568`. |