about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2025-07-18Rollup merge of #144008 - anatawa12:fix-double-negations, r=compiler-errorsMatthias Krüger-0/+2
2025-07-17fix: false positive double_negations when it jumps macro boundaryanatawa12-0/+2
2025-07-15Implement other logicstiif-1/+2
2025-07-13Remove hir::AssocItemKind.Camille GILLOT-41/+34
2025-06-26Port `#[export_name]` to the new attribute parsing infrastructureJonathan Brouwer-6/+8
2025-06-24Rewrite #[track_caller]Jana Dönszelmann-2/+2
2025-06-22Port `#[no_mangle]` to new attribute parsing infrastructureJonathan Brouwer-9/+12
2025-06-12Rollup merge of #141162 - mejrs:gated, r=fee1-deadMatthias Krüger-50/+2
2025-06-09Remove rustc_feature::Stabilitymejrs-47/+2
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature chec...mejrs-12/+9
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-2/+3
2025-05-30Reorder fields in `hir::ItemKind` variants.Nicholas Nethercote-18/+18
2025-05-10Warn when #[export_name] is used with generic functionsMu001999-10/+17
2025-04-26Update lint-docs to default to Rust 2024Eric Huss-1/+1
2025-04-08clean code: remove Deref<Target=RegionKind> impl for Region and use `.kind()`xizheyin-2/+2
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-14/+12
2025-04-03Make LevelAndSource a structOli Scherer-1/+3
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-2/+2
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-14/+12
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-9/+9
2025-03-15Stop relying on rustc_type_ir in non-type-system cratesMichael Goulet-14/+15
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-3/+3
2025-02-24Change span field accesses to method callsJana Dönszelmann-2/+2
2025-02-23Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obkMatthias Krüger-1/+7
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-1/+7
2025-02-22Fix builtin lintsMichael Goulet-4/+2
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-1/+1
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-08Rustfmtbjorn3-90/+123
2025-02-02Convert two `rustc_middle::lint` functions to `Span` methods.Nicholas Nethercote-2/+1
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-3/+5
2025-01-26implement lint `double_negations`Kalle Wachsmuth-11/+64
2025-01-26unrelated cleanupKalle Wachsmuth-10/+2
2025-01-21remove long-deprecated no-op attributes no_start and crate_idRalf Jung-8/+2
2025-01-09Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errorsMatthias Krüger-3/+3
2025-01-08Remove some unnecessary `.into()` callsEsteban Küber-3/+3
2025-01-07Remove outdated information in the `unreachable_pub` lint descriptionUrgau-3/+2
2025-01-05Mention `unnameable_types` in `unreachable_pub` documentation.Kevin Reid-3/+5
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-1/+1
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-1/+1
2024-12-15Use links to edition guide for edition migrationsEric Huss-1/+1
2024-12-15Add hir::AttributeJonathan Dönszelmann-3/+3
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-07Make `Copy` unsafe to implement for ADTs with `unsafe` fieldsJack Wrenn-0/+1
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-1/+1
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-15/+15
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-8/+6