rust/tests/ui/parser/obsolete-syntax-impl-for-dotdot.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
251 B
Plaintext
Raw Normal View History

error: `impl Trait for .. {}` is an obsolete syntax
2018-12-25 15:56:47 +00:00
--> $DIR/obsolete-syntax-impl-for-dotdot.rs:7:1
|
2019-03-09 12:03:44 +00:00
LL | impl Trait2 for .. {}
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
error: aborting due to previous error