rust/compiler/rustc_resolve/src
Nicholas Nethercote a733082be9 Avoid need for {D,Subd}iagnosticMessage imports.
The `fluent_messages!` macro produces uses of
`crate::{D,Subd}iagnosticMessage`, which means that every crate using
the macro must have this import:
```
use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
```

This commit changes the macro to instead use
`rustc_errors::{D,Subd}iagnosticMessage`, which avoids the need for the
imports.
2023-11-26 08:38:00 +11:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Auto merge of #117934 - Young-Flash:dev, r=petrochenkov 2023-11-24 15:26:04 +00:00
build_reduced_graph.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
check_unused.rs Rollup merge of #116905 - Fenex:refactor/compiler/resolve, r=petrochenkov 2023-10-26 17:45:43 +02:00
def_collector.rs Add gen blocks to ast and do some broken ast lowering 2023-10-27 13:05:48 +00:00
diagnostics.rs Auto merge of #118065 - estebank:core-not-found-404, r=TaKO8Ki 2023-11-23 02:26:52 +00:00
effective_visibilities.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
errors.rs Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errors 2023-09-11 17:03:32 +02:00
ident.rs Rename RibKind::ClosureOrAsync to reflect how it is actually used 2023-10-27 13:05:49 +00:00
imports.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
late.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
lib.rs Avoid need for {D,Subd}iagnosticMessage imports. 2023-11-26 08:38:00 +11:00
macros.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustdoc.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00