about summary refs log tree commit diff
path: root/tests/ui/force-inlining/auxiliary
AgeCommit message (Collapse)AuthorLines
2025-01-10mir_transform: implement forced inliningDavid Wood-0/+10
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.