diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-13 17:37:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-13 17:37:37 +0100 |
| commit | 5c764da9b05cd78d0b89d5b4f7b6b401fc773571 (patch) | |
| tree | 1efd02c8512a81cbd42f67eb3fd491de3224aa32 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a1b0702ea5efd2f1bacc2bb5cfac7b82abc58bc5 (diff) | |
| parent | c7b28913151927e8fdda3878d0188ab02b767eae (diff) | |
| download | rust-5c764da9b05cd78d0b89d5b4f7b6b401fc773571.tar.gz rust-5c764da9b05cd78d0b89d5b4f7b6b401fc773571.zip | |
Rollup merge of #104315 - SparkyPotato:fix-104276, r=cjgillot
Improve spans with `use crate::{self}`
Fixes #104276.
The error becomes:
```
error: crate root imports need to be explicitly named: `use crate as name;`
--> src/lib.rs.rs:1:13
|
1 | use crate::{self};
| ^^^^
warning: unused import: `self`
--> src/lib.rs:1:13
|
1 | use crate::{self};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
