about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/messages.ftl
AgeCommit message (Collapse)AuthorLines
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-2/+0
2025-05-25Make UNNECESSARY_TRANSMUTES into a HIR lintMichael Goulet-1/+0
2025-05-25Make PTR_TO_INTEGER_TRANSMUTE_IN_CONSTS into a HIR lintMichael Goulet-5/+0
2025-04-24Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etcbendn-0/+1
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-0/+12
2025-01-10mir_transform: implement forced inliningDavid Wood-0/+11
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.
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-0/+25
take 2 open up coroutines tweak the wordings the lint works up until 2021 We were missing one case, for ADTs, which was causing `Result` to yield incorrect results. only include field spans with significant types deduplicate and eliminate field spans switch to emit spans to impl Drops Co-authored-by: Niko Matsakis <nikomat@amazon.com> collect drops instead of taking liveness diff apply some suggestions and add explantory notes small fix on the cache let the query recurse through coroutine new suggestion format with extracted variable name fine-tune the drop span and messages bugfix on runtime borrows tweak message wording filter out ecosystem types earlier apply suggestions clippy check lint level at session level further restrict applicability of the lint translate bid into nop for stable mir detect cycle in type structure
2024-11-12Validate and test `-Zmir-enable-passes`clubby789-0/+2
2024-10-08coverage. Warn about too many test vectorszhuyunxing-0/+2
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+5
2024-04-03Remove MIR unsafe checkMatthew Jasper-49/+0
This also remove safety information from MIR.
2023-11-27Print list of missing target features when calling a function with target ↵Eduardo Sánchez Muñoz-1/+12
features outside an unsafe block
2023-09-06Don't report any errors in `lower_intrinsics`. They should have been ↵Oli Scherer-2/+0
typecked before.
2023-06-13Add note about unsafe functions body not being unsafeWim Looman-0/+1
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin-0/+1
Nemo157 rebase notes: Migrated the changes to the lint into fluent
2023-05-25Ensure Fluent messages are in alphabetical orderclubby789-40/+41
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-0/+66