rust/compiler/rustc_monomorphize/src
David Wood f86169a58f
mir_transform: implement forced inlining
Adds `#[rustc_force_inline]` which is similar to always inlining but
reports an error if the inlining was not possible, and which always
attempts to inline annotated items, regardless of optimisation levels.
It can only be applied to free functions to guarantee that the MIR
inliner will be able to resolve calls.
2025-01-10 18:37:54 +00:00
..
mono_checks Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
collector.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
errors.rs Remove polymorphization 2024-12-06 16:42:09 -05:00
lib.rs Implement projection and shim for AFIDT 2024-12-10 16:52:20 +00:00
partitioning.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
util.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00