summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-11-29clean up pr 104954Rageking8-1/+1
2022-11-27make simple check of prinf function.Vincenzo Palazzo-0/+8
2022-11-23resolve: Don't use constructor def ids in the map for field namesVadim Petrochenkov-2/+5
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-10/+2
2022-11-17Use `ThinVec` in `ast::Path`.Nicholas Nethercote-2/+4
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-10/+8
2022-11-12Rollup merge of #103970 - oli-obk:unhide_unknown_spans, r=estebankDylan DPC-8/+10
2022-11-11Rollup merge of #103531 - chenyukang:yukang/fix-103474, r=estebankManish Goregaokar-12/+12
2022-11-11Print all labels, even if they have no span. Fall back to main item's span.Oli Scherer-8/+10
2022-11-10Rollup merge of #104186 - chenyukang:yukang/fix-104086-let-binding-issue, r=o...Manish Goregaokar-14/+7
2022-11-09Make span_suggestions take IntoIteratorMichael Goulet-3/+3
2022-11-09DiagnosticBuilder -> DiagnosticMichael Goulet-5/+5
2022-11-10add 'is_assign_rhs' to avoid weird suggesting 'let'yukang-21/+7
2022-11-09fix tests and code cleanupyukang-5/+1
2022-11-09Fix #104086, Tighten the 'introduce new binding' suggestionyukang-7/+18
2022-11-05Do not make typo suggestions when suggesting pattern matchingDeadbeef-2/+13
2022-10-30Rollup merge of #103560 - zbyrn:issue-103358-fix, r=cjgillotDylan DPC-15/+21
2022-10-29avoid unnecessary `&str` to `String` conversionsTakayuki Maeda-4/+1
2022-10-25Modify check to output 'you might have meant' for indirect referenceByron Zhong-2/+15
2022-10-25Add check to only output 'you might have meant' when the candidate name is in...Byron Zhong-1/+2
2022-10-25Add Span in TypoSuggestion and TypoCandidateByron Zhong-16/+8
2022-10-26suggest calling the method of the same name when method not foundyukang-12/+12
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