]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/obsolete-syntax-impl-for-dotdot.stderr
Rollup merge of #107553 - edward-shen:edward-shen/suggest-null-ptr, r=WaffleLapkin
[rust.git] / tests / ui / parser / obsolete-syntax-impl-for-dotdot.stderr
1 error: `impl Trait for .. {}` is an obsolete syntax
2   --> $DIR/obsolete-syntax-impl-for-dotdot.rs:7:1
3    |
4 LL | impl Trait2 for .. {}
5    | ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: use `auto trait Trait {}` instead
8
9 error: aborting due to previous error
10