about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-06Rollup merge of #119939 - clubby789:static-const-generic-note, r=compiler-errorsMatthias Krüger-1/+9
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-2/+2
2024-01-21exclude unexported macro bindings from extern cratebohan-4/+4
2024-01-15Auto merge of #119610 - Nadrieril:never_pattern_bindings, r=compiler-errorsbors-0/+3
2024-01-14Special case 'generic param from outer item' message for `Self`clubby789-0/+2
2024-01-14Add note to resolve error about generics from inside static/constclubby789-1/+7
2024-01-13store the segment name when resolution failsbohan-11/+6
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-3/+3
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-12/+18
2024-01-09Check bindings around never patternsNadrieril-0/+3
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-2/+2
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-5/+4
2024-01-05Rollup merge of #119151 - Jules-Bertholet:no-foreign-doc-hidden-suggest, r=da...Matthias Krüger-13/+41
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-59/+52
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-1/+1
2023-12-20Hide foreign `#[doc(hidden)]` paths in import suggestionsJules Bertholet-13/+41
2023-12-06tip for define macro name after `macro_rules!`bohan-4/+9
2023-12-04Structured `use` suggestion on privacy errorEsteban Küber-1/+86
2023-11-23Auto merge of #118065 - estebank:core-not-found-404, r=TaKO8Kibors-0/+9
2023-11-22When failing to import `core`, suggest `std`Esteban Küber-0/+9
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-11-19When encountering struct fn call literal with private fields, suggest all bui...Esteban Küber-0/+1