summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2024-11-14Use `for_each_child` in a suitable place.Nicholas Nethercote-7/+5
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-3/+2
2024-09-29cleanup: don't clone types that are CopyMatthias Krüger-5/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-18/+22
2024-09-12Rollup merge of #130208 - nnethercote:rslv-lifetime, r=petrochenkovMatthias Krüger-26/+26
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-53/+52
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-26/+26
2024-09-11Simplify some nested if statementsMichael Goulet-53/+52
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
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