rust/compiler/rustc_resolve/src
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
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
build_reduced_graph.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
check_unused.rs Use is_some_and/is_ok_and in less obvious spots 2023-05-24 14:33:43 +00:00
def_collector.rs Remove the NodeId of ast::ExprKind::Async 2023-03-19 19:01:31 +01:00
diagnostics.rs resolve: Use Interned for Module 2023-07-05 13:47:36 +03:00
effective_visibilities.rs resolve: Use Interned for NameBinding 2023-07-05 13:47:36 +03:00
errors.rs Add translatable diagnostic for import resolution strings 2023-06-25 08:29:28 +01:00
ident.rs resolve: Use Interned for Module 2023-07-05 13:47:36 +03:00
imports.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
late.rs Rollup merge of #112729 - jieyouxu:unused-qualifications-suggestion, r=b-naber 2023-07-14 01:03:07 +02:00
lib.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
macros.rs resolve: Use Interned for NameBinding 2023-07-05 13:47:36 +03:00
rustdoc.rs rustdoc: fix ICE from rustc_resolve and librustdoc parse divergence 2023-04-18 12:22:13 -07:00