about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-4/+3
2022-01-31Make `span_extend_to_prev_str()` more robustFabian Wolff-19/+19
2022-01-16rustc_metadata: Switch all decoder methods from vectors to iteratorsVadim Petrochenkov-6/+4
2022-01-08Simplify error reporting.Camille GILLOT-0/+19
2022-01-06rustc_metadata: Make attribute decoding slightly faster and stricterVadim Petrochenkov-4/+6
2021-12-15Remove unnecessary sigils around `Ident::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-15Remove `SymbolStr`.Nicholas Nethercote-4/+3
2021-11-27Improve error message for `E0659` if the source is not availableFabian Wolff-1/+1
2021-11-16Fix case where ICE #90878 was still triggered by a leading newlineNilstrieb-9/+7
2021-11-15Fix `non-constant value` ICE (#90878)Nilstrieb-1/+15
2021-11-12rustc_feature: Convert `BuiltinAttribute` from tuple to a structVadim Petrochenkov-1/+1