about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/diagnostic_items.rs
AgeCommit message (Expand)AuthorLines
2025-06-18Implement lint against direct uses of rustc_type_ir in compiler cratesRomain Perier-2/+2
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-2/+2
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-01-14Add `tcx.visible_traits()` and use it for producing diagnosticsTrevor Gross-2/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-15Add hir::AttributeJonathan Dönszelmann-3/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-29Add `warn(unreachable_pub)` to `rustc_passes`.Nicholas Nethercote-1/+1
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-06-06Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk"Rémy Rakic-1/+1
2024-05-22rustc: Use `tcx.used_crates(())` moreVadim Petrochenkov-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-18Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostl...Michael Woerister-3/+0
2023-12-12rustc_passes: Enforce `rustc::potential_query_instability` lintMartin Nordholts-0/+3
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-03-21LocalCrate keyMichael Goulet-1/+2
2023-03-21Use local key in providersMichael Goulet-4/+2
2023-02-26Merge the two diagnostics.Camille GILLOT-16/+12
2023-02-26Simplify diagnostic_items.Camille GILLOT-33/+30
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-5/+2
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-7/+3
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-4/+4
2022-10-10make up your mind, rustfmtNathan Stocks-5/+1
2022-10-10remove out-of-date fixmeNathan Stocks-2/+5
2022-10-07First batch of review feedback changes from #102110Nathan Stocks-2/+2
2022-10-07migrate diagnostic_items.rs to translateable diagnosticsNathan Stocks-18/+18
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-4/+4
2022-05-13remove DiagnosticItemCollectorMiguel Guarniz-39/+28
2022-05-10fix typolcnr-1/+1
2022-03-22use `format-args-capture` and remove unnecessary nested if blocks in some par...Takayuki Maeda-4/+3
2021-10-06Introduce get_diagnostic_nameCameron Steffen-20/+14
2021-09-29Avoid more invocations of hir_crate query.Camille GILLOT-1/+1
2021-08-28Treat macros as HIR itemsinquisitivecrystal-4/+0
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-5/+4
2021-07-25Merge the BTreeMap in hir::Crate.Camille GILLOT-1/+1
2021-07-01Rename all_crate_nums query to crates and remove useless wrapperbjorn3-1/+1
2021-05-12Use () for lang items.Camille GILLOT-11/+7
2021-03-09Access attrs directly from HirId in rustc_passes::diagnostic_item.Camille GILLOT-6/+8
2021-02-15Use less HirId when referring to items.Camille GILLOT-8/+7
2021-02-15Only store a LocalDefId in hir::MacroDef.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::ForeignItem.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::ImplItem.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::TraitItem.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-1/+1
2020-11-26Use visitor for its very purpose.Camille GILLOT-13/+3
2020-11-26Store ForeignItem in a side table.Camille GILLOT-0/+2
2020-10-18Allow #[rustc_diagnostic_item] on macros.Mara Bos-0/+4
2020-10-27Cache foreign_modules queryRyan Levick-1/+1
2020-09-19transmute: use diagnostic itemBastian Kauschke-1/+13