summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-10-25Rollup merge of #103350 - clubby789:refer-to-assoc-method, r=wesleywiserYuki Okushi-13/+29
2022-10-23Rollup merge of #101908 - chenyukang:fix-101880, r=estebankDylan DPC-53/+43
2022-10-21Different suggestions for when associated functions are referred toclubby789-13/+29
2022-10-21Rollup merge of #103111 - cjgillot:shadow-label, r=estebankDylan DPC-9/+61
2022-10-20fix rust-lang#101880: suggest let for assignment, and some code refactoryukang-53/+43
2022-10-18Fix the bug of next_point in spanyukang-1/+1
2022-10-16Point to shadowed name when it exists.Camille GILLOT-5/+40
2022-10-16Account for hygiene when suggesting typos.Camille GILLOT-4/+21
2022-10-11rustc_hir: Less error-prone methods for accessing `PartialRes` resolutionVadim Petrochenkov-22/+14
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-2/+2
2022-09-29Auto merge of #101887 - nnethercote:shrink-Res, r=spastorinobors-1/+1
2022-09-29Rollup merge of #102085 - chenyukang:code-refactor, r=cjgillotYuki Okushi-247/+366
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-1/+1
2022-09-26trivial fix on fallbackyukang-3/+1
2022-09-26more code refactor on smart_resolve_report_errorsyukang-175/+207
2022-09-22Fix a typo in error messageFrank Steffahn-1/+1
2022-09-21add trivial commentsyukang-2/+3
2022-09-21code refactoring smart_resolve_report_errorsyukang-173/+261
2022-09-11Avoid `Iterator::last`KaDiWa-2/+2
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-2/+0
2022-08-31Fix uintended diagnostic caused by `drain(..)`Donough Liu-12/+13
2022-08-28Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillotbors-1/+1
2022-08-26Rollup merge of #100817 - vincenzopalazzo:macros/bool_spelling_sugg, r=davidtwcoMichael Goulet-5/+22
2022-08-22sugg: suggest the usage of boolean value when there is a typo in the keywordVincenzo Palazzo-5/+22
2022-08-22make some methods privateTakayuki Maeda-1/+1
2022-08-18Rollup merge of #100643 - TaKO8Ki:point-at-type-parameter-shadowing-another-t...Matthias Krüger-0/+12
2022-08-17point at a type parameter shadowing another typeTakayuki Maeda-0/+12
2022-08-13avoid cloning and then iteratingKaDiWa-1/+1
2022-08-11Suggest path separator when a dot is used on a traitLeón Orell Valerian Liehr-16/+37
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-3/+3
2022-07-28Remove guess_head_span.Camille GILLOT-6/+1
2022-07-26Rollup merge of #99729 - cjgillot:rm-unused-tuple, r=michaelwoeristerMatthias Krüger-1/+1
2022-07-25Unused tuple fields in rustc_resolve.Camille GILLOT-1/+1
2022-07-25Report elision failures on the AST.Camille GILLOT-572/+279
2022-07-19Rollup merge of #99401 - TaKO8Ki:avoid-symbol-to-&str-conversions, r=nnethercoteMatthias Krüger-8/+13
2022-07-18avoid `Symbol` to `&str` conversionsTakayuki Maeda-8/+13
2022-07-14Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillotDylan DPC-1/+5
2022-07-12make for<> in closures a possible place to suggest adding named lifetimeMaybe Waffle-1/+5
2022-07-10avoid some `&str` to `String` conversionsTakayuki Maeda-4/+2
2022-06-30Rollup merge of #98677 - lyming2007:issue-98492-fix, r=lcnrMatthias Krüger-0/+2
2022-06-30For diagnostic information of Boolean, remind it as use the type: 'bool'Yiming Lei-0/+2
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-9/+4
2022-06-22Auto merge of #98279 - cjgillot:all-fresh-nofn, r=petrochenkovbors-3/+12
2022-06-21Always create parameters for functions-like types.Camille GILLOT-3/+12
2022-06-20Rollup merge of #98267 - compiler-errors:suggest-wildcard-arm, r=oli-obkMatthias Krüger-1/+1
2022-06-19Don't suggest adding Self as a type parameterMichael Goulet-1/+1
2022-06-19Mention what item is using an invalid `Self` typeMichael Goulet-0/+19
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-1/+1
2022-06-17Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoeristerbors-1/+0
2022-06-15Rollup merge of #97822 - compiler-errors:hesitate-to-suggest-intrinsics, r=ol...Yuki Okushi-1/+13