about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-07-10Rollup merge of #99103 - TaKO8Ki:avoid-&str-to-string-conversions, r=oli-obkMatthias Krüger-4/+1
2022-07-10avoid some `&str` to `String` conversionsTakayuki Maeda-4/+1
2022-07-09Rollup merge of #99008 - obeis:issue-98974, r=compiler-errorsDylan DPC-4/+19
2022-07-08Update ui test for the new E0530 suggestionObei Sideg-2/+1
2022-07-08Check if E0530 is `rustc_resolve::late::PatternSource::Match` to emit suggestionObei Sideg-5/+8
2022-07-08Check if E0530 is `tuple variant` or `tuple struct` to emit suggestionObei Sideg-8/+14
2022-07-07Adding suggestion for E0530Obei Sideg-0/+7
2022-07-07suggest adding a derive for #[default] applied to variantsDeadbeef-4/+10
2022-07-05fix typo in note about multiple inaccessible type aliasesClementTsang-1/+3
2022-07-04suggest `#[derive(Default)]` to enums with `#[default]`Takayuki Maeda-0/+9
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-1/+1
2022-06-19Mention what item is using an invalid `Self` typeMichael Goulet-0/+2
2022-06-14Separate `source_span` and `expn_that_defined` from `Definitions`.Camille GILLOT-10/+11
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-7/+2
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-12/+7
2022-06-01Rollup merge of #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve...Matthias Krüger-3/+12
2022-05-25suggest `extern crate foo` when failing to resolve `use foo`Takayuki Maeda-3/+12
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-20/+20
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-0/+14
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-13/+13
2022-05-05Implement the unused_macro_rules lintest31-0/+14
2022-05-03Tweak wordingEsteban Kuber-5/+4
2022-05-03When suggesting to import an item, also suggest changing the path if appropriateEsteban Küber-4/+17
2022-05-02fix most compiler/ doctestsElliot Roberts-13/+13
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-2/+2
2022-05-01resolve: Rename `unusable_binding` to `ignore_binding`Vadim Petrochenkov-5/+5
2022-05-01resolve: Merge `last_import_segment` into `Finalize`Vadim Petrochenkov-3/+0
2022-05-01resolve: Turn `enum Finalize` into an optional structVadim Petrochenkov-11/+8
2022-04-30Use newtype `enum`s instead of `bool`Esteban Kuber-21/+43
2022-04-30When encountering a binding that could be a const or unit variant, suggest th...Esteban Kuber-19/+71
2022-04-21Remove redundant `format!`sNixon Enraght-Moony-1/+1
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-2/+2
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-0/+6
2022-04-12Rollup merge of #95405 - cjgillot:probe, r=petrochenkovDylan DPC-18/+660
2022-04-12Move diagnostic methods to the dedicated module.Camille GILLOT-12/+468
2022-04-12Simplify error reporting.Camille GILLOT-84/+76
2022-04-12Move path resolution error to rustc_resolve::diagnostics.Camille GILLOT-3/+195
2022-04-12Pass last_import_segment and unusable_binding as parameters.Camille GILLOT-5/+7
2022-04-11fix a bad error message for `relative paths are not supported in visibilities...Takayuki Maeda-1/+1
2022-04-05errors: implement fallback diagnostic translationDavid Wood-1/+1
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-25resolve: Rename `CrateLint` to `Finalize`Vadim Petrochenkov-8/+6
2022-03-25resolve: Stop passing unused spans and node ids to path resolution functionsVadim Petrochenkov-14/+9
2022-03-25resolve: Do not build expensive suggestions if they are not actually usedVadim Petrochenkov-4/+4
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+5
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+6
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-4/+4
2022-02-18Rollup merge of #93634 - matthiaskrgr:clippy_complexity_jan_2022, r=oli-obkMatthias Krüger-4/+3
2022-02-12change to a struct variantEllen-1/+1