about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2024-08-17Emit an error for invalid use of the linkage attributeShina-1/+23
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-6/+11
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-5/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-5/+3
2024-08-10rustc_passes: make some messages in check_attr translatablePavel Grigorenko-4/+2
2024-08-10rustc_passes: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-1/+0
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-6/+11
2024-08-07Rollup merge of #128552 - s7tya:check-no-sanitize-attribute-pos, r=BoxyUwUTrevor Gross-1/+6
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-5/+3
2024-08-06Don't Suggest Labeling `const` and `unsafe` BlocksVeera-14/+26
2024-08-06check_attr: treat cfg_attr like cfg许杰友 Jieyou Xu (Joe)-0/+1
2024-08-05Emit an error for invalid use of the `#[no_sanitize]` attributeShina-1/+6
2024-08-04check_attr: cover multi-segment attributes on specific check arms许杰友 Jieyou Xu (Joe)-71/+73
2024-08-03Rollup merge of #128581 - jieyouxu:checked-attr, r=nnethercoteMatthias Krüger-2/+71
2024-08-03Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-93/+28
2024-08-03Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet-1/+1
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-25/+16
2024-08-03Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"Michael Goulet-12/+28
2024-08-03Revert "Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-22/+10
2024-08-03Revert "Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkov"Michael Goulet-19/+17
2024-08-03Assert that all attributes are actually checked via `CheckAttrVisitor` and ar...Oli Scherer-2/+71
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+26
2024-07-31Rollup merge of #128402 - oli-obk:checked_attrs, r=compiler-errorsMatthias Krüger-367/+179
2024-07-30Rollup merge of #128380 - folkertdev:naked-compatible-doc-comment, r=bjorn3Matthias Krüger-0/+6
2024-07-30Attribute checking simplificationsOli Scherer-367/+179
2024-07-30make `///` doc comments compatible with naked functionsFolkert-0/+6
2024-07-29Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petrochenkovMatthias Krüger-17/+19
2024-07-29Reformat `use` declarations.Nicholas Nethercote-52/+50
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-35/+77
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-4/+1
2024-07-27allow `#[target_feature]` on `#[naked]` functionsFolkert-1/+1
2024-07-27switch to an allowlist approachFolkert-6/+43
2024-07-26Not lint pub structs without pub constructors if containing fields of unit, n...mu001999-17/+19
2024-07-26Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pnkfelixTrevor Gross-10/+22
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-4/+1
2024-07-25Rollup merge of #128138 - folkertdev:asm-option-allowlist, r=lcnrMatthias Krüger-12/+9
2024-07-24use an allow list for allowed asm options in naked functionsFolkert-12/+9
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-2/+2
2024-07-16hir: Create `hir::ConstArgKind` enumNoah Lev-1/+1
2024-07-16improve error message when `#[naked]` is used with `#[track-caller] and `#[ta...Folkert-13/+15
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-34/+37
2024-07-10Report usage of lib features in ast validationMichael Goulet-14/+0
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-2/+2
2024-07-05Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelixMichael Goulet-28/+12
2024-07-04Auto merge of #123781 - RalfJung:miri-fn-identity, r=oli-obkbors-1/+1
2024-07-04Improve dead code analysismu001999-28/+12
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-1/+1
2024-07-03Auto merge of #125507 - compiler-errors:type-length-limit, r=lcnrbors-1/+1
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+1
2024-07-02Miri function identity hack: account for possible inliningRalf Jung-1/+1