1
Fork 0
rust/compiler/rustc_passes/src
Stuart Cook d48af09ffd
Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau
Add some convenience helper methods on `hir::Safety`

Makes a lot of call sites simpler and should make any refactorings needed for https://github.com/rust-lang/rust/pull/134090#issuecomment-2541332415 simpler, as fewer sites have to be touched in case we end up storing some information in the variants of `hir::Safety`
2024-12-15 20:01:38 +11:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
check_attr.rs Also forbid target_feature annotated methods from being lang items 2024-12-13 19:03:43 +00:00
dead.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
debugger_visualizer.rs Use SourceMap to load debugger visualizer files 2024-12-08 18:57:04 +00:00
diagnostic_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
entry.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser 2024-12-03 04:39:48 +00:00
hir_id_validator.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
input_stats.rs (Re-)Implement impl_trait_in_bindings 2024-12-14 03:21:24 +00:00
lang_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
layout_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
lib_features.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
liveness.rs Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 2024-12-12 16:29:40 +00:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 2024-12-12 16:29:40 +00:00
reachable.rs Rollup merge of #131049 - compiler-errors:more-validation, r=spastorino 2024-10-22 15:28:38 +02:00
stability.rs don't require const stability for const impls 2024-11-20 17:04:05 +08:00
upvars.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
weak_lang_items.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00