about summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
2024-08-27add repr to the allowlist for naked functions, and test that it worksjdonszelmann-0/+1
2024-08-26Rollup merge of #129544 - mu001999-contrib:dead-code/clean, r=compiler-errorsMatthias Krüger-11/+0
2024-08-26Rollup merge of #129525 - notriddle:notriddle/fake-variadic-tuple-array, r=Gu...Matthias Krüger-0/+10
2024-08-25Removes dead code from the compilermu001999-11/+0
2024-08-24rustdoc: clean up tuple <-> primitive conversion docsMichael Howell-0/+10
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+26
2024-08-22Gate repr(Rust) correctly on non-ADT itemsMichael Goulet-0/+9
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-5/+4
2024-08-18Fix wording of misapplied `must_not_suspend` errorGoldstein-3/+3
2024-08-18Check that `#[may_dangle]` is properly appliedGoldstein-1/+32
2024-08-18Rollup merge of #129203 - compiler-errors:extern_crate_data, r=jieyouxu许杰友 Jieyou Xu (Joe)-2/+2
2024-08-17Use cnum for extern crate dataMichael Goulet-2/+2
2024-08-17Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkovMatthias Krüger-1/+27
2024-08-17Emit an error for invalid use of the linkage attributeShina-1/+27
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/+8
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/+8
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/+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