summary refs log tree commit diff
path: root/src/librustc/infer/error_reporting
AgeCommit message (Expand)AuthorLines
2019-02-14Rollup merge of #58347 - matthewjasper:closure-bounds-fixes, r=pnkfelixMazdak Farrokhzad-20/+21
2019-02-14Rollup merge of #58267 - estebank:match-arms, r=matthewjasperMazdak Farrokhzad-12/+21
2019-02-13Buffer and migrate nice region errorsMatthew Jasper-20/+21
2019-02-13HirId-ify hir::BodyIdljedrz-1/+1
2019-02-13Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasperMazdak Farrokhzad-8/+8
2019-02-13Rollup merge of #58137 - ljedrz:cleanup_node_id_to_type, r=estebankMazdak Farrokhzad-3/+3
2019-02-13Cleanup importsTaiki Endo-3/+3
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-6/+6
2019-02-10rustc: doc commentsAlexander Regueiro-3/+3
2019-02-10Auto merge of #58151 - ljedrz:HirIdify_rustc, r=Zoxcbors-14/+10
2019-02-09cleanup: rename node_id_to_type(_opt)ljedrz-3/+3
2019-02-08review comments: (marginally) reduce memory consumtionEsteban Küber-5/+9
2019-02-07Reweork incompatible match arms errorEsteban Küber-12/+17
2019-02-05rustc: partially HirIdifyljedrz-14/+10
2019-02-05move librustc to 2018Mark Mansi-68/+68
2019-02-03cleanup: don't use node_to_hir_id where unneededljedrz-3/+2
2019-01-28Refer to synthetically named lifetimes as "some specific lifetime" rather tha...Rémy Rakic-2/+2
2019-01-27Fix stray typoRémy Rakic-1/+1
2019-01-27Extract the notes explaining the placeholder region errors to a helper fnRémy Rakic-8/+43
2019-01-27When mentioning lifetimes, put either the trait ref or the self type closer t...Rémy Rakic-26/+63
2019-01-27comment the patternNiko Matsakis-0/+15
2019-01-27identify when implemented for "some specific lifetime"Niko Matsakis-127/+120
2019-01-27add a lot more `debug!` to `try_report_placeholders_trait`Niko Matsakis-0/+15
2019-01-27Try to reword placeholder error messages to make them clearerlqd-31/+45
2019-01-27Try to resolve type vars in the placeholder errors trait refslqd-8/+12
2019-01-27Handle higher-ranked lifetime conflict errors where the subtype is the `sup` ...lqd-0/+24
2019-01-27Make NiceRegionError use the `InferCtxt` instead of its `TyCtxt`lqd-43/+47
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-6/+6
2019-01-20Add "dereference boxed value" suggestion.David Wood-2/+19
2019-01-13Suggest removal of semicolon when appropriateEsteban Küber-1/+9
2019-01-13Tweak output of type mismatch between "then" and `else` `if` armsEsteban Küber-2/+6
2019-01-12Don't add label to the match expr when the type is not fully realizedEsteban Küber-1/+3
2019-01-12Reword label as per review commentEsteban Küber-1/+1
2019-01-12Point at the match discriminant when arm pattern has a type mismatchEsteban Küber-0/+3
2019-01-02improve handling for subtypeNiko Matsakis-57/+120
2019-01-02say "the lifetime" instead of "some lifetime" when it feels rightNiko Matsakis-7/+20
2019-01-02apply the same logic to ConcreteFailure errorsNiko Matsakis-0/+50
2019-01-02refactor highlighting to take any RegionKind, making it more generalNiko Matsakis-121/+76
2019-01-02apply the new placeholder errors even with just one placeholderNiko Matsakis-2/+50
2019-01-02introduce placeholder-placeholder errors for trait matchingNiko Matsakis-5/+233
2019-01-02dump out the exact state in error reporting debugsNiko Matsakis-0/+10
2018-12-29Use `same_type` instead of duplicating logicEsteban Küber-19/+12
2018-12-28Suggest `.as_ref()` when appropriate for `Option` and `Result`Esteban Küber-0/+74
2018-12-25Remove licensesMark Rousskov-100/+0
2018-12-12Account for `impl Trait` when suggesting lifetimeEsteban Küber-11/+20
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-2/+2
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-32/+32
2018-11-19Rollup merge of #55953 - blitzerr:master, r=nikomatsakisPietro Albini-3/+3
2018-11-14capture_disjoint_fields(rust-lang#53488)Blitzerr-3/+3
2018-11-13fix various typos in doc commentsAndy Russell-1/+1