rust/compiler/rustc_middle/src
Jubilee 181458bc1c
Rollup merge of #137002 - chenyukang:fix-early-lint-check-desc, r=compiler-errors
Fix early lint check desc in query

When I debugging this issue: https://github.com/rust-lang/rust/pull/136906#discussion_r1954151036

I found early lint checking is performed after [macro expansion](37520e6d89/compiler/rustc_interface/src/passes.rs (L267)), but [prior to AST lowering](37520e6d89/compiler/rustc_ast_lowering/src/lib.rs (L427)).

r? ``@cjgillot``
2025-02-14 14:05:25 -08:00
..
dep_graph Remove impl_for_typed_def_id macro. 2025-02-04 08:34:11 +11:00
hir Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
hooks Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
infer Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
middle Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
mir Move MirPatch from rustc_middle to rustc_mir_transform. 2025-02-14 16:15:57 +11:00
query Fix early lint check desc in query 2025-02-14 09:49:57 +08:00
thir Fix an inconsistent import. 2025-02-04 08:34:11 +11:00
traits Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity 2025-02-13 03:45:04 +00:00
ty Auto merge of #136593 - lukas-code:ty-value-perf, r=oli-obk 2025-02-13 15:27:30 +00:00
util Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
arena.rs intern valtrees 2025-02-13 00:38:17 +01:00
error.rs compiler: Make middle errors pub(crate) and bury some dead code 2025-02-11 21:57:05 -08:00
lib.rs stabilize feature(trait_upcasting) 2025-02-06 23:30:23 +01:00
lint.rs Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
macros.rs Don't export the Trivial* macros. 2025-01-31 16:04:13 +11:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
values.rs Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00