rust/compiler/rustc_middle/src/mir
Matthias Krüger 453c32d614
Rollup merge of #136394 - saethlin:clean-up-instantiation-mode, r=compiler-errors
Clean up MonoItem::instantiation_mode

More progress on cleaning up and documenting instantiation mode selection.

This should have no behavior changes at all, it just rearranges the code inside `MonoItem::instantiation_mode` to a more logical flow and I've tried to explain every choice the implementation is making.
2025-02-02 18:05:23 +01:00
..
interpret Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
basic_blocks.rs Remove Engine::new_gen_kill. 2024-10-14 16:35:28 +11:00
consts.rs introduce ty::Value 2025-01-30 17:47:44 +01:00
coverage.rs Exclude mir::coverage types from TypeFoldable/TypeVisitable 2025-01-24 16:06:18 +11:00
generic_graph.rs Add warn(unreachable_pub) to rustc_middle. 2024-08-29 20:13:06 +10:00
generic_graphviz.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
graphviz.rs tcx.is_const_fn doesn't work the way it is described, remove it 2024-10-25 20:52:39 +02:00
mod.rs Move find_self_call. 2025-01-31 16:04:13 +11:00
mono.rs Clean up MonoItem::instantiation_mode 2025-02-01 12:57:04 -05:00
patch.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
pretty.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
query.rs use fmt::from_fn in more places, instead of using structs that impl formatting traits 2025-01-24 14:45:56 +00:00
statement.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
syntax.rs Rollup merge of #130514 - compiler-errors:unsafe-binders, r=oli-obk 2025-02-01 16:41:03 +01:00
tcx.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
terminator.rs Insert null checks for pointer dereferences when debug assertions are enabled 2025-01-31 11:13:34 +00:00
traversal.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
type_foldable.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
visit.rs Rollup merge of #130514 - compiler-errors:unsafe-binders, r=oli-obk 2025-02-01 16:41:03 +01:00