summary refs log tree commit diff
path: root/src/test/ui/parser/trait-object-bad-parens.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/trait-object-bad-parens.stderr')
-rw-r--r--src/test/ui/parser/trait-object-bad-parens.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/parser/trait-object-bad-parens.stderr b/src/test/ui/parser/trait-object-bad-parens.stderr
index a1c483c3eca..e9f1dc57919 100644
--- a/src/test/ui/parser/trait-object-bad-parens.stderr
+++ b/src/test/ui/parser/trait-object-bad-parens.stderr
@@ -1,23 +1,23 @@
 error[E0178]: expected a path on the left-hand side of `+`, not `((Copy))`
-  --> $DIR/trait-object-bad-parens.rs:14:16
+  --> $DIR/trait-object-bad-parens.rs:4:16
    |
 LL |     let _: Box<((Copy)) + Copy>;
    |                ^^^^^^^^^^^^^^^ expected a path
 
 error[E0178]: expected a path on the left-hand side of `+`, not `(Copy + Copy)`
-  --> $DIR/trait-object-bad-parens.rs:16:16
+  --> $DIR/trait-object-bad-parens.rs:6:16
    |
 LL |     let _: Box<(Copy + Copy) + Copy>;
    |                ^^^^^^^^^^^^^^^^^^^^ expected a path
 
 error[E0178]: expected a path on the left-hand side of `+`, not `(Copy)`
-  --> $DIR/trait-object-bad-parens.rs:18:16
+  --> $DIR/trait-object-bad-parens.rs:8:16
    |
 LL |     let _: Box<(Copy +) + Copy>;
    |                ^^^^^^^^^^^^^^^ expected a path
 
 error[E0178]: expected a path on the left-hand side of `+`, not `(dyn Copy)`
-  --> $DIR/trait-object-bad-parens.rs:20:16
+  --> $DIR/trait-object-bad-parens.rs:10:16
    |
 LL |     let _: Box<(dyn Copy) + Copy>;
    |                ^^^^^^^^^^^^^^^^^ expected a path