summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/obsolete-syntax-impl-for-dotdot.stderr
blob: d5f404bed3108f1a1804ce1c3e0c14b9ad27bce2 (plain)
1
2
3
4
5
6
7
8
9
10
error: `impl Trait for .. {}` is an obsolete syntax
  --> $DIR/obsolete-syntax-impl-for-dotdot.rs:7:1
   |
LL | impl Trait2 for .. {}
   | ^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use `auto trait Trait {}` instead

error: aborting due to 1 previous error