rust/compiler/rustc_middle/src
Nicholas Nethercote cee430b2ce Add super_local method to the MIR visitors.
`visit_local` is the only method that doesn't call a corresponding
`super_local` method. This is valid, because `super_local` would be
empty. But it's inconsistent with every other case; we have multiple
other empty `super` methods: `super_span`, `super_ty`, etc.

This commit adds an empty `super_local` and makes `visit_local` call it.
2025-02-19 19:41:50 +11:00
..
dep_graph Remove impl_for_typed_def_id macro. 2025-02-04 08:34:11 +11:00
hir Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +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 Move rustc_middle::limits to rustc_interface. 2025-02-17 09:30:39 +11:00
mir Add super_local method to the MIR visitors. 2025-02-19 19:41:50 +11:00
query Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11: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 clean up layout error diagnostics 2025-02-18 13:22:45 +01: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 clean up layout error diagnostics 2025-02-18 13:22:45 +01: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 Remove scrutinee_hir_id from ExprKind::Match 2025-02-18 13:51:32 +01:00
values.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00