about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-26/+26
2024-08-21Simplify some redundant field namesMichael Goulet-1/+1
2024-08-07make `import.vis` is not mutablebohan-10/+13
2024-07-29Structured suggestion for `extern crate foo` when `foo` isn't resolved in importEsteban Küber-4/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+17
2024-07-26Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errorsTrevor Gross-1/+4
2024-07-26Add a label to point to the lacking macro name definitionLin Yihai-1/+4
2024-07-24Do not use question as labelEsteban Küber-2/+2
2024-07-19Avoid ref when using format! in compilerYuri Astrakhan-3/+3
2024-07-19Rollup merge of #127662 - estebank:gate-span, r=TaKO8KiMatthias Krüger-1/+7
2024-07-18Accurate `use` rename suggestion spanEsteban Küber-8/+10
2024-07-12Rollup merge of #127310 - chenyukang:yukang-fix-suggest-import-ice, r=estebankJubilee-5/+5
2024-07-12When finding item gated behind a `cfg` flat, point at itEsteban Küber-1/+7
2024-07-11Account for `let foo = expr`; to suggest `const foo: Ty = expr;`Esteban Küber-1/+7
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-2/+3
2024-07-06Use field ident spans directly instead of the full field span in diagnostics ...Oli Scherer-5/+1
2024-07-04Fix import suggestion iceyukang-5/+5
2024-07-01Fix import suggestion error when failed not from startingyukang-1/+11
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-41/+31
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-13Tweak output of import suggestionsEsteban Küber-7/+39
2024-05-30Improve renaming suggestion for names with leading underscoresLucas Scharenbroch-14/+24
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-3/+3
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-6/+0
2024-05-10Remove `ordinalize`.Nicholas Nethercote-14/+0
2024-05-10Remove `#[macro_use] extern crate tracing` from `rustc_resolve`.Nicholas Nethercote-0/+1
2024-04-29Add raw identifier in a typo suggestionLin Yihai-1/+1
2024-04-13Migrate more diagnosticsJean CASPAR-138/+135
2024-04-13Migrate some diagnosticsJean CASPAR-10/+12
2024-04-13Port build_reduce_graphJeanCASPAR-1/+1
2024-03-27Do not sort `DefId`s in diagnosticsOli Scherer-11/+9
2024-03-12Manual rustfmtOli Scherer-1/+1
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-06avoid overlapping privacy suggestion for single nested importsbohan-23/+39
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-4/+4
2024-03-05Rename `DiagnosticMode` as `DiagMode`.Nicholas Nethercote-19/+16
2024-03-04Rollup merge of #121130 - chenyukang:yukang-fix-121061-macro-later, r=matthia...Matthias Krüger-1/+22
2024-02-29Rollup merge of #121792 - GuillaumeGomez:improve-suggestion, r=michaelwoeristerGuillaume Gomez-2/+3
2024-02-29Improve suggestion to rename type starting with underscore to make it more ob...Guillaume Gomez-2/+3
2024-02-29Suggest moving if non-found macro_rules! is defined lateryukang-1/+22
2024-02-28Auto merge of #121489 - nnethercote:diag-renaming, r=davidtwcobors-10/+10
2024-02-28Rollup merge of #121226 - chenyukang:yukang-fix-import-alias, r=davidtwcoGuillaume Gomez-1/+11
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-10/+10
2024-02-27Remove an unnecessary `span_delayed_bug` in `Resolver::valid_res_from_ribs`.Nicholas Nethercote-2/+6
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-1/+1
2024-02-25Fix issues in suggesting importing extern crate pathsyukang-1/+11
2024-02-20Add newtype for using the prelude in resolutionclubby789-1/+1
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-8/+8
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-2/+2
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-9/+15