summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-27resolve: Simplify some diagnostic code to avoid an ICEVadim Petrochenkov-17/+4
2022-03-25resolve: Rename `CrateLint` to `Finalize`Vadim Petrochenkov-6/+6
2022-03-25resolve: Stop passing unused spans and node ids to path resolution functionsVadim Petrochenkov-20/+14
2022-03-25resolve: Do not build expensive suggestions if they are not actually usedVadim Petrochenkov-3/+3
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+1
2022-03-15Support other types of pluralization in pluralize macroest31-3/+3
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+3
2022-02-25Rollup merge of #93845 - compiler-errors:in-band-lifetimes, r=cjgillotMatthias Krüger-11/+0
2022-02-24Remove in-band lifetimesMichael Goulet-11/+0
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+5
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-20/+13
2022-02-23rustc_errors: add `downgrade_to_delayed_bug` to `Diagnostic` itself.Eduard-Mihai Burtescu-2/+2
2022-02-20Rollup merge of #94146 - est31:let_else, r=cjgillotMatthias Krüger-6/+3
2022-02-19Adopt let else in more placesest31-6/+3
2022-02-18Rollup merge of #93634 - matthiaskrgr:clippy_complexity_jan_2022, r=oli-obkMatthias Krüger-1/+1
2022-02-17Rollup merge of #94011 - est31:let_else, r=lcnrMatthias Krüger-8/+4
2022-02-16Adopt let_else in even more placesest31-8/+4
2022-02-12change to a struct variantEllen-1/+1
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-1/+1
2022-02-02Detect `::` -> `:` typo in type argumentEsteban Kuber-0/+37
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