rust/compiler/rustc_passes/src
Matthias Krüger 99e34b4f7a
Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obk
Rename `hir::Local` into `hir::LetStmt`

Follow-up of #122776.

As discussed on [zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Improve.20naming.20of.20.60ExprKind.3A.3ALet.60.3F).

I made this change into a separate PR because I'm less sure about this change as is. For example, we have `visit_local` and `LocalSource` items. Is it fine to keep these two as is (I supposed it is but I prefer to ask) or not? Having `Node::Local(LetStmt)` makes things more explicit but is it going too far?

r? ```@oli-obk```
2024-03-23 15:00:18 +01:00
..
liveness Match unmatched backticks in compiler/ that are part of rustdoc 2023-03-03 08:39:00 +01:00
abi_test.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
check_attr.rs Use hir::Node helper methods instead of repeat the same impl multiple times 2024-03-18 18:12:45 +00:00
check_const.rs Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkov 2024-03-22 11:36:58 +01:00
dead.rs Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlin 2024-03-23 00:37:05 +00:00
debugger_visualizer.rs Avoid using feed_unit_query from within queries 2024-03-05 10:02:39 +00:00
diagnostic_items.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
entry.rs Rollup merge of #122060 - clubby789:stabilize-imported-main, r=lcnr 2024-03-18 22:24:37 +01:00
errors.rs Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11:00
hir_id_validator.rs Add proper cfgs for struct HirIdValidator used only with debug assertions 2024-03-06 22:54:22 +08:00
hir_stats.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
lang_items.rs Avoid using feed_unit_query from within queries 2024-03-05 10:02:39 +00:00
layout_test.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
lib.rs Add proper cfgs for struct HirIdValidator used only with debug assertions 2024-03-06 22:54:22 +08:00
lib_features.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
liveness.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
loops.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
naked_functions.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
reachable.rs rename items -> free_items 2024-03-21 14:27:11 +01:00
stability.rs remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsics 2024-02-25 08:14:52 +01:00
upvars.rs is_closure_like 2024-02-11 22:09:52 +00:00
weak_lang_items.rs Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00