rust/compiler/rustc_resolve/src
Matthias Krüger 207b24413c
Rollup merge of #113177 - estebank:hrlt-sugg, r=compiler-errors
Use structured suggestion when telling user about `for<'a>`

```
error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/E0637.rs:13:13
   |
LL |     T: Into<&u32>,
   |             ^ explicit lifetime name needed here
   |
help: consider introducing a higher-ranked lifetime here
   |
LL |     T: for<'a> Into<&'a u32>,
   |        +++++++       ++
```
2023-06-30 08:01:14 +02:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Rollup merge of #113084 - WaffleLapkin:less_map_or, r=Nilstrieb 2023-06-27 22:10:15 +02:00
build_reduced_graph.rs Use Option::is_some_and and Result::is_ok_and in the compiler 2023-05-24 14:20:41 +00: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: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
effective_visibilities.rs increase the accuracy of effective visibilities calculation 2023-06-08 19:22:30 +03:00
errors.rs Add translatable diagnostic for import resolution strings 2023-06-25 08:29:28 +01:00
ident.rs resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
imports.rs resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
late.rs Use structured suggestion when telling user about for<'a> 2023-06-30 00:34:14 +00:00
lib.rs resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
macros.rs resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
rustdoc.rs rustdoc: fix ICE from rustc_resolve and librustdoc parse divergence 2023-04-18 12:22:13 -07:00