summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late
AgeCommit message (Expand)AuthorLines
2024-03-05Rename `DiagnosticMetadata` as `DiagMetadata`.Nicholas Nethercote-27/+26
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-02avoid collecting into vecs in some placesMatthias Krüger-4/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-79/+64
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-1/+1
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-63/+80
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-9/+15
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-9/+15
2024-02-14remove importing suggestions when there is a shadowed typo canddiateyukang-23/+39
2024-02-04Suggest `[tail @ ..]` on `[..tail]` and `[...tail]` where `tail` is unresolvedLeón Orell Valerian Liehr-14/+24
2024-02-03Rollup merge of #120592 - trevyn:cleanup-to-string, r=NilstriebMatthias Krüger-2/+2
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-2/+2
2024-02-02Suggest changing ty to const params if appropriateLeón Orell Valerian Liehr-0/+50
2024-02-02Clean up some things in the name resolverLeón Orell Valerian Liehr-7/+9
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-7/+7
2024-01-20Don't delete any lifetimes with boundstrevyn-1/+2
2024-01-17Make crate_inherent_impls fallible and stop using `track_errors` for itOli Scherer-4/+2
2024-01-12Delegation implementation: step 1Bryanskiy-1/+11
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-7/+7
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-5/+5
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-2/+2
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-12/+13
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-9/+7
2024-01-05Rollup merge of #119638 - lukas-code:suggest-constructor-cycle-error, r=cjgillotMichael Goulet-5/+2
2024-01-05fix cycle error for "use constructor" suggestionLukas Markeffsky-5/+2
2024-01-05Rollup merge of #119151 - Jules-Bertholet:no-foreign-doc-hidden-suggest, r=da...Matthias Krüger-5/+13
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-3/+3
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-16/+10
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-1/+1
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-1/+1
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-3/+3
2023-12-20Hide foreign `#[doc(hidden)]` paths in import suggestionsJules Bertholet-5/+13
2023-12-19Plumb awaitness of for loopsEric Holk-1/+1
2023-12-12Rollup merge of #118889 - matthiaskrgr:compl_2023_2, r=WaffleLapkinJubilee-8/+3
2023-12-12Rollup merge of #118884 - matthiaskrgr:auszweimacheins, r=NadrierilJubilee-1/+1
2023-12-12more clippy::complexity fixesMatthias Krüger-8/+3
2023-12-12simplify merging of two vecsMatthias Krüger-1/+1
2023-12-12Rollup merge of #117914 - estebank:issue-85843, r=wesleywiserMatthias Krüger-12/+259
2023-11-27Dont suggest `!` for path in function call if it has generic argsMichael Goulet-6/+16
2023-11-25is_{some,ok}_andMichael Goulet-1/+1
2023-11-24Auto merge of #117934 - Young-Flash:dev, r=petrochenkovbors-3/+12
2023-11-23feat: make let_binding_suggestion more reasonableYoung-Flash-3/+12
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-20let-chain fmtEsteban Küber-31/+24
2023-11-20Rely in resolve and not on path name for `&str` -> `String` suggestionEsteban Küber-49/+54
2023-11-20Do not consider traits as ownable in suggestionEsteban Küber-7/+55
2023-11-20Account for '_ in lifetime suggestionEsteban Küber-4/+15
2023-11-20Suggest 'a when trait object assoc type has '_Esteban Küber-12/+21
2023-11-20Fix incorrect lifetime suggestionEsteban Küber-2/+2
2023-11-20Tweak wordingEsteban Küber-4/+4