summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-15/+14
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-2/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-30/+19
2024-09-21remove `#[cmse_nonsecure_entry]`Folkert-24/+0
2024-09-18Rollup merge of #129422 - compiler-errors:repr-rust, r=fmeaseJubilee-0/+9
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-11/+7
2024-09-11Also fix if in elseMichael Goulet-11/+7
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-4/+1
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-32/+8
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-28/+5
2024-08-28Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwUbors-5/+28
2024-08-28Rollup merge of #129421 - jdonszelmann:naked-repr-align-functions, r=workingj...Matthias Krüger-0/+1
2024-08-28Implement RFC 3525.Luca Versari-5/+28
2024-08-27add repr to the allowlist for naked functions, and test that it worksjdonszelmann-0/+1
2024-08-26Rollup merge of #129525 - notriddle:notriddle/fake-variadic-tuple-array, r=Gu...Matthias Krüger-0/+10
2024-08-24rustdoc: clean up tuple <-> primitive conversion docsMichael Howell-0/+10
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+13
2024-08-22Gate repr(Rust) correctly on non-ADT itemsMichael Goulet-0/+9
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+1
2024-08-18Fix wording of misapplied `must_not_suspend` errorGoldstein-1/+1
2024-08-18Check that `#[may_dangle]` is properly appliedGoldstein-1/+22
2024-08-17Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkovMatthias Krüger-1/+14
2024-08-17Emit an error for invalid use of the linkage attributeShina-1/+14
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-4/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+2
2024-08-10rustc_passes: make some messages in check_attr translatablePavel Grigorenko-4/+2
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-2/+2
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-03Assert that all attributes are actually checked via `CheckAttrVisitor` and ar...Oli Scherer-2/+64
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+22
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-29Reformat `use` declarations.Nicholas Nethercote-10/+11
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-9/+64
2024-07-27allow `#[target_feature]` on `#[naked]` functionsFolkert-1/+1
2024-07-27switch to an allowlist approachFolkert-4/+40
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-1/+1
2024-07-16improve error message when `#[naked]` is used with `#[track-caller] and `#[ta...Folkert-12/+14
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-8/+25
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-06-29Rollup merge of #127118 - surechen:fix_126789, r=jieyouxuMatthias Krüger-3/+7
2024-06-29Show `used attribute`'s kind for user when find it isn't applied to a `static...surechen-3/+7
2024-06-26coverage: Allow `#[coverage(..)]` on `impl` and `mod`Zalathar-3/+6
2024-06-24coverage: Always error on `#[coverage(..)]` in unexpected placesZalathar-37/+5
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-20/+1