about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-01-21Rollup merge of #93046 - est31:let_else, r=davidtwcoMatthias Krüger-3/+1
2022-01-19Only suggest adding `!` to expressions that can be macro invocationEsteban Kuber-1/+10
2022-01-18Use let_else in even more placesest31-3/+1
2021-12-27Tighten span when suggesting lifetime on pathMichael Goulet-3/+6
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-4/+4
2021-12-15Remove unnecessary sigils around `Ident::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-15Remove `SymbolStr`.Nicholas Nethercote-1/+1
2021-12-14Rollup merge of #91798 - bugadani:issue-91783, r=michaelwoeristerMatthias Krüger-1/+6
2021-12-12Avoid suggesting self in visibility specDániel Buga-1/+6
2021-12-11Do not ICE when suggesting elided lifetimes on non-existent spans.Camille GILLOT-0/+5
2021-12-03Annotate `derive`d spans and move span suggestion codeEsteban Kuber-2/+2
2021-12-03Keep spans for generics in `#[derive(_)]` desugaringEsteban Kuber-11/+5
2021-11-30Merge Implicit and ImplicitMissing.Camille GILLOT-3/+2
2021-11-30Handle `allow(elided_lifetimes_in_paths)`.Camille GILLOT-31/+28
2021-11-30Lint elided lifetimes in path during lifetime resolution.Camille GILLOT-1/+39
2021-11-30Move report_elision_failure in diagnostics.rs.Camille GILLOT-0/+79
2021-11-18rustc: Remove `#[rustc_synthetic]`Vadim Petrochenkov-12/+8
2021-11-07Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514bors-4/+2
2021-11-07more clippy fixesMatthias Krüger-4/+2
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-3/+1
2021-11-06Replace some uses of vec.drain(..) with vec.into_iter()The8472-5/+5
2021-10-26Adds hint if a trait fails to resolve and a newly added one in Edition 2021 i...Jakob Degen-0/+1
2021-10-21Revert "Auto merge of #89100 - petrochenkov:localbind, r=cjgillot"Mark Rousskov-2/+1
2021-10-18resolve: Use `NameBinding` for local variables and generic parametersVadim Petrochenkov-1/+2
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-1/+1
2021-10-02resolve: Avoid comparing modules by optional def-idVadim Petrochenkov-1/+1
2021-09-30Rollup merge of #89248 - hkmatsumoto:suggest-similarly-named-assoc-items, r=e...Manish Goregaokar-2/+36
2021-09-29Suggest similarly named assoc items in trait implsHirochika Matsumoto-2/+36
2021-09-27suggest path for tuple structTakayuki Maeda-1/+7
2021-09-13Auto merge of #87915 - estebank:fancy-spans, r=oli-obkbors-11/+6
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-0/+1
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-0/+10
2021-08-31some low hanging clippy::perf fixesMatthias Krüger-1/+1
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-2/+2
2021-08-27Remove `Session.if_let_suggestions`Aaron Hill-1/+0
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-18review comment: use newtype to deduplicate logicEsteban Kuber-32/+70
2021-08-18review comment: reduce duplicationEsteban Kuber-24/+27
2021-08-18Use more accurate spans when proposing adding lifetime to itemEsteban Kuber-7/+32
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-11/+6
2021-08-06Add hint for unresolved associated trait items if the trait has a single itemJakub Beránek-7/+45
2021-07-25clippy::useless_formatMatthias Krüger-1/+1
2021-06-28Fix garbled suggestion for missing lifetime specifierFabian Wolff-0/+2
2021-05-13Auto merge of #85041 - mibac138:suggest-generics, r=estebankbors-5/+14
2021-05-12Fix diagnostics spans for missing lifetimes in edge casesGiacomo Stevanato-6/+28
2021-05-10More minor fixes suggested by @jackh726Fabian Wolff-2/+4
2021-05-09Implement @jackh726's suggestionsFabian Wolff-72/+59
2021-05-07Fix suggestions for missing return type lifetime parametersFabian Wolff-146/+205
2021-05-07Fix impl type parameter suggestion involving constsmibac138-1/+8