rust/compiler/rustc_feature/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
..
accepted.rs update version placeholders 2025-01-08 20:02:18 +01:00
builtin_attrs.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
lib.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
removed.rs update version placeholders 2025-01-08 20:02:18 +01:00
tests.rs Add RUSTC_BOOTSTRAP=-1 to make rustc pretend as stable compiler 2024-11-17 19:59:52 +08:00
unstable.rs update version placeholders 2025-01-08 20:02:18 +01:00