2018-01-13 19:26:49 +03:00
|
|
|
error: `impl Trait for .. {}` is an obsolete syntax
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/obsolete-syntax-impl-for-dotdot.rs:7:1
|
2018-01-13 19:26:49 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl Trait2 for .. {} //~ ERROR `impl Trait for .. {}` is an obsolete syntax
|
2018-01-13 19:26:49 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: use `auto trait Trait {}` instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|