summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-05-05Rollup merge of #96507 - TaKO8Ki:suggest-calling-associated-function, r=lcnrMatthias Krüger-34/+75
2022-05-05suggest calling `Self::associated_function()`Takayuki Maeda-34/+75
2022-05-01resolve: Turn `enum Finalize` into an optional structVadim Petrochenkov-4/+4
2022-04-30Box HIR Generics and Impl.Camille GILLOT-1/+1
2022-04-30Ban non-static lifetimes from AnonConst on AST.Camille GILLOT-28/+16
2022-04-29Ban non-static in const generics in AST.Camille GILLOT-18/+15
2022-04-28Auto merge of #96495 - Dylan-DPC:rollup-9lm4tpp, r=Dylan-DPCbors-3/+1
2022-04-27Use LifetimeRes during lowering.Camille GILLOT-1/+1
2022-04-27tut tut tutEllen-3/+1
2022-04-19Rollup merge of #96142 - cjgillot:no-crate-def-index, r=petrochenkovDylan DPC-6/+4
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-6/+4
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-35/+1
2022-04-17Report undeclared lifetimes on AST.Camille GILLOT-60/+96
2022-04-12Rollup merge of #95405 - cjgillot:probe, r=petrochenkovDylan DPC-2/+1
2022-04-12Pass last_import_segment and unusable_binding as parameters.Camille GILLOT-2/+1
2022-04-10FIXME for diagnostic variable nameMichael Goulet-7/+6
2022-04-05errors: implement fallback diagnostic translationDavid Wood-1/+1
2022-04-05span: move `MultiSpan`David Wood-2/+3
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