Closed
Description
It currently gives two - one for self
outside {}
and one for an unknown import. The latter should be silenced.
e.g.,
error[E0429]: `self` imports are only allowed within a { } list
--> src/librustc_save_analysis/external_data.rs:19:5
|
19 | use data::self;
| ^^^^^^^^^^
error[E0432]: unresolved import `data::self`
--> src/librustc_save_analysis/external_data.rs:19:5
|
19 | use data::self;
| ^^^^^^^^^^ no `self` in `data`