summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2022-06-14Make ResolverAstLowering a struct.Camille GILLOT-1/+0
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-12/+12
2022-06-11Rollup merge of #97812 - TaKO8Ki:suggest-to-swap-struct-and-trait, r=estebankDylan DPC-0/+33
2022-06-09move suggestions to its own methodTakayuki Maeda-19/+31
2022-06-07Don't suggest adding let in certain if conditionsMichael Goulet-7/+15
2022-06-07Filter out intrinsics if we have other import candidates to suggestMichael Goulet-1/+13
2022-06-07suggest swapping a struct and a traitTakayuki Maeda-0/+21
2022-06-03Manipulate lifetimes by LocalDefId for region resolution.Camille GILLOT-6/+23
2022-06-03Use the same message as type & const generics.Camille GILLOT-23/+8
2022-06-03Reuse resolve_label to check lifetime shadowing.Camille GILLOT-7/+9
2022-06-02Do not report mixed label/lifetime shadowing.Camille GILLOT-73/+33
2022-06-02Diagnose shadowing on AST.Camille GILLOT-0/+82
2022-05-24Rollup merge of #97240 - TaKO8Ki:improve-errors-about-typos-on-variables, r=c...Yuki Okushi-7/+8
2022-05-23add typo suggestions for all `AssocSuggestion` variantsTakayuki Maeda-1/+1
2022-05-21typo suggestion for a variable with a name similar to struct fieldsTakayuki Maeda-7/+8
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-15/+21
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-3/+75
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