about summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
2024-08-07Rollup merge of #128552 - s7tya:check-no-sanitize-attribute-pos, r=BoxyUwUTrevor Gross-1/+6
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/+75
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/+75
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+30
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-41/+82
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-9/+46
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-14/+16
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-40/+42
2024-07-10Report usage of lib features in ast validationMichael Goulet-17/+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
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-29Rollup merge of #127118 - surechen:fix_126789, r=jieyouxuMatthias Krüger-3/+11
2024-06-29Show `used attribute`'s kind for user when find it isn't applied to a `static...surechen-3/+11
2024-06-28Revert "Rollup merge of #126938 - RalfJung:link_section, r=compiler-errors"Rémy Rakic-2/+10
2024-06-28Change RTN to use .. againMichael Goulet-1/+1
2024-06-27Extend rules of dead code analysis for impls for adts to impls for types refe...mu001999-10/+22
2024-06-27Rollup merge of #126721 - Zalathar:nested-cov-attr, r=oli-obkJacob Pratt-3/+6
2024-06-26Rollup merge of #126938 - RalfJung:link_section, r=compiler-errorsMatthias Krüger-10/+2
2024-06-26coverage: Allow `#[coverage(..)]` on `impl` and `mod`Zalathar-3/+6