mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
253 B
Plaintext
11 lines
253 B
Plaintext
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
|
|
|