rust/compiler/rustc_trait_selection/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
..
error_reporting mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
errors introduce LateParamRegionKind 2024-12-18 16:05:44 +01:00
solve Rollup merge of #132345 - compiler-errors:fx-diag, r=lcnr 2025-01-06 22:04:13 -05:00
traits Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors 2025-01-09 09:05:10 +01:00
errors.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
infer.rs Suggest Semicolon in Incorrect Repeat Expressions 2024-12-21 02:30:50 +00:00
lib.rs consistently handle global where-bounds 2024-12-17 08:50:47 +01:00
regions.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
solve.rs impossible obligations check fast path 2024-10-10 06:09:50 -04:00