summary refs log tree commit diff
path: root/src/test/ui/obsolete-syntax-impl-for-dotdot.stderr
blob: 4a312d745f6c70769e1851dcc082aed988ee4f2f (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:17:1
   |
LL | impl Trait2 for .. {} //~ ERROR `impl Trait for .. {}` is an obsolete syntax
   | ^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use `auto trait Trait {}` instead

error: aborting due to previous error