about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-10/+9
2025-03-09continue to check attr if meet empty repr for adtMu001999-1/+1
2025-03-04mgca: Lower all const paths as `ConstArgKind::Path`Noah Lev-0/+21
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+28
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-2/+2
2025-02-24lower attr spans and inline some functions to hopefully mitigate perf regress...Jana Dönszelmann-1/+0
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-386/+361
2025-02-24Introduce new parsing infrastructure and types for parsed attributesJana Dönszelmann-15/+15
2025-02-24Change span field accesses to method callsJana Dönszelmann-97/+98
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-6/+6
2025-02-19Rollup merge of #136923 - samueltardieu:push-vxxqvqwspssv, r=davidtwcoMatthias Krüger-18/+29
2025-02-18Lint `#[must_use]` attributes applied to methods in trait implsSamuel Tardieu-18/+29
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-3/+3
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-4/+3
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-13/+24
2025-02-08Rustfmtbjorn3-13/+24
2025-02-07compiler: remove rustc_target::abi entirelyJubilee Young-4/+3
2025-02-06Rollup merge of #133925 - folkertdev:improve-repr-warnings, r=compiler-errorsMatthias Krüger-17/+40
2025-01-30review comment: change `span` argumentEsteban Küber-1/+1
2025-01-30When encountering unexpected closure return type, point at return type/expres...Esteban Küber-0/+1
2025-01-25Auto merge of #119286 - jyn514:linker-output, r=bjorn3bors-0/+37
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-1/+1
2025-01-21remove support for the #[start] attributeRalf Jung-2/+0
2025-01-20Don't require `--verbose` to show linker stdoutjyn-4/+13
2025-01-20warn on unused linker_messages warning attributesjyn-0/+28
2025-01-10mir_transform: implement forced inliningDavid Wood-1/+41
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-1/+2
2024-12-25Overhaul error messages for disallowed coverage attributesZalathar-6/+19
2024-12-21Rollup merge of #134539 - estebank:restrict-non_exhaustive, r=jieyouxuMatthias Krüger-3/+24
2024-12-20Restrict `#[non_exaustive]` on structs with default field valuesEsteban Küber-3/+24
2024-12-20split up `#[rustc_deny_explicit_impl]` attributeLukas Markeffsky-0/+1
2024-12-18Also warn against `#[diagnostic::do_not_recommend]` on plain implsGeorg Semmler-2/+9
2024-12-18Check `#[diagnostic::do_not_recommend]` for argumentsGeorg Semmler-2/+16
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-17Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomezJacob Pratt-3/+10
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-3/+10
2024-12-15Add hir::AttributeJonathan Dönszelmann-15/+8
2024-12-13Also forbid target_feature annotated methods from being lang itemsOli Scherer-2/+2
2024-12-05disallow `repr()` on invalid itemsFolkert de Vries-17/+40
2024-11-23Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle许杰友 Jieyou Xu (Joe)-3/+34
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+3
2024-11-11Add #[rustc_as_ptr] attributegavincrawford-0/+3
2024-11-11Auto merge of #127589 - notriddle:notriddle/search-sem-3, r=GuillaumeGomezbors-2/+25
2024-11-08remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functi...Ralf Jung-22/+0
2024-11-02Allow disabling ASan instrumentation for globalsDaniel Bertalan-3/+34
2024-10-30rustdoc-search: simplify rules for generics and type paramsMichael Howell-2/+25
2024-10-29TypingMode :thinking:lcnr-2/+2
2024-10-28Error on alignments greater than `isize::MAX`asquared31415-1/+43
2024-10-27Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent,...bors-1/+1