about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2025-04-11Avoid a reverse map that is only used in diagnostics pathsOli Scherer-3/+3
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-4/+8
2025-04-01Rollup merge of #138790 - xizheyin:issue-138626, r=compiler-errorsMatthias Krüger-11/+11
2025-04-01Auto merge of #138740 - nnethercote:ast-ItemKind-idents, r=fmeasebors-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-1/+1
2025-04-01Use `sym::dummy` in one more place.Nicholas Nethercote-1/+1
2025-03-25Rollup merge of #138924 - nnethercote:less-kw-Empty-3, r=compiler-errorsMatthias Krüger-1/+1
2025-03-25Use `Option<Symbol>` in `ModuleKind::Def`.Nicholas Nethercote-1/+1
2025-03-24resolve: Avoid some unstable iteration 2Vadim Petrochenkov-1/+0
2025-03-22Note potential but private items in show_candidatesxizheyin-11/+11
2025-03-14resolve: Avoid some unstable iterationVadim Petrochenkov-10/+5
2025-03-12Disentangle ForwardGenericParamBan and ConstParamTy ribsMichael Goulet-10/+20
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-02-28Introduce `feature(generic_const_parameter_types)`Boxy-3/+3
2025-02-26Rollup merge of #137529 - klensy:unused3, r=lcnrLeón Orell Valerian Liehr-7/+2
2025-02-24Change span field accesses to method callsJana Dönszelmann-1/+1
2025-02-24cleanup few unused argsklensy-7/+2
2025-02-11Rollup merge of #135677 - yotamofek:resolve-cleanups2, r=compiler-errorsMatthias Krüger-7/+8
2025-02-08Rustfmtbjorn3-8/+4
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-21use slice patterns for checking for elements of sliceYotam Ofek-5/+6
2025-01-21don't use partial ordering on types that support total orderingYotam Ofek-2/+2
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