about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2025-01-25Auto merge of #133154 - estebank:issue-133137, r=wesleywiserbors-4/+32
2025-01-24Reword "crate not found" resolve messageEsteban Küber-4/+32
2025-01-21rustc_resolve: don't open-code `Option::filter`Yotam Ofek-4/+1
2025-01-21rustc_resolve: reduce rightwards drift with `let..else` 👉💨Yotam Ofek-195/+199
2025-01-21rustc_resolve: flatten nested `if`sYotam Ofek-69/+58
2025-01-21rustc_resolve: remove unneeded `return`sYotam Ofek-2/+0
2025-01-20Rollup merge of #135676 - yotamofek:resolve-cleanups, r=BoxyUwU许杰友 Jieyou Xu (Joe)-24/+15
2025-01-20rustc_resolve: use structured fields in tracesYotam Ofek-24/+15
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-3/+3
2025-01-16Implement `use` associated items of traitsFrank King-1/+5
2024-12-18Auto merge of #134243 - nnethercote:re-export-more-rustc_span, r=jieyouxubors-2/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-16update uses of extract_if in the compilerThe 8472-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-11-23Rollup merge of #132949 - clubby789:macro-rules-attr-derive, r=fmease许杰友 Jieyou Xu (Joe)-3/+15
2024-11-22Diagnostic for using macro_rules macro as attr/deriveclubby789-3/+15
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