rust/compiler/rustc_lint
Matthias Krüger 2cc04536b4
Rollup merge of #112729 - jieyouxu:unused-qualifications-suggestion, r=b-naber
Add machine-applicable suggestion for `unused_qualifications` lint

```
error: unnecessary qualification
  --> $DIR/unused-qualifications-suggestion.rs:17:5
   |
LL |     foo::bar();
   |     ^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-qualifications-suggestion.rs:3:9
   |
LL | #![deny(unused_qualifications)]
   |         ^^^^^^^^^^^^^^^^^^^^^
help: replace it with the unqualified path
   |
LL |     bar();
   |     ~~~
```

Closes #92198.
2023-07-14 01:03:07 +02:00
..
src Rollup merge of #112729 - jieyouxu:unused-qualifications-suggestion, r=b-naber 2023-07-14 01:03:07 +02:00
Cargo.toml
messages.ftl Uplift clippy::fn_null_check to rustc 2023-07-10 18:12:41 +02:00