summary refs log tree commit diff
path: root/src/librustc_infer/infer/error_reporting
AgeCommit message (Expand)AuthorLines
2020-05-30Tweak wording and spans of `'static` `dyn Trait`/`impl Trait` requirementsEsteban Küber-21/+26
2020-05-30Consider all possible one letter lifetimes in suggestionEsteban Küber-3/+3
2020-05-30Account for enclosing item when suggesting new lifetime nameEsteban Küber-13/+33
2020-05-30Tweak type parameter errors to reduce verbosityEsteban Küber-11/+23
2020-05-30review comment: tweak wording and account for span overlapEsteban Küber-4/+18
2020-05-30Account for returned `dyn Trait` evaluating to `'static` lifetimeEsteban Küber-52/+32
2020-05-30Improve output of argument anonymous borrow missing annotation involving opaq...Esteban Küber-8/+18
2020-05-30Account for missing lifetime in opaque return typeEsteban Küber-69/+113
2020-05-28Account for `Self` as a type paramEsteban Küber-3/+7
2020-05-27review comments: change wording and visual outputEsteban Küber-47/+16
2020-05-27Fix rebaseEsteban Küber-3/+4
2020-05-27fix rebaseEsteban Küber-1/+1
2020-05-27fix rebaseEsteban Küber-4/+2
2020-05-27Modify wordingEsteban Küber-11/+72
2020-05-27fix rebaseEsteban Küber-3/+3
2020-05-27review comment: use FxIndexSetEsteban Küber-3/+3
2020-05-27review commentsEsteban Küber-40/+18
2020-05-27Tweak output for mismatched impl itemEsteban Küber-13/+43
2020-05-27Name `RegionKind::ReVar` lifetimes in diagnosticsEsteban Küber-5/+55
2020-05-22Remove dead ScopeTree codeMatthew Jasper-164/+48
2020-05-22Remove unused error reporting codeMatthew Jasper-474/+0
2020-05-22Remove ReScopeMatthew Jasper-45/+0
2020-05-22Improve the error when an opaque type captures ReEmtptyMatthew Jasper-2/+15
2020-05-18correctly handle uninferred constsBastian Kauschke-1/+42
2020-05-12Remove ty::UnnormalizedProjectionJack Huey-1/+1
2020-05-05perf: Reduce snapshot/rollback overheadMarkus Westerlind-3/+5
2020-05-04Auto merge of #71108 - estebank:suggest-proj-type-mismatch-constraint, r=oli-obkbors-2/+3
2020-05-02When a projection is expected, suggest constraining or calling methodEsteban Küber-2/+3
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-1/+1
2020-04-28Rollup merge of #71311 - estebank:fn-type-param, r=varkorDylan DPC-1/+7
2020-04-27fix typoEsteban Kuber-1/+1
2020-04-26Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddybDylan DPC-6/+1
2020-04-25Rollup merge of #71544 - cuviper:filter_map_next, r=Mark-SimulacrumDylan DPC-33/+27
2020-04-24Replace filter_map().next() calls with find_map()Josh Stone-33/+27
2020-04-25Rollup merge of #71534 - cuviper:unused-option-map, r=Mark-SimulacrumDylan DPC-1/+3
2020-04-25Rollup merge of #69456 - contrun:fix-misleading-compiler-error, r=estebankDylan DPC-6/+52
2020-04-24Avoid unused Option::map resultsJosh Stone-1/+3
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-6/+1
2020-04-23Address comments from reviewmarmeladema-6/+4
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-5/+5
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-5/+10
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-19/+31
2020-04-18On `FnDef` type annotation suggestion, use fn-pointer outputEsteban Küber-1/+7
2020-04-17Auto merge of #71049 - eddyb:const-err, r=oli-obkbors-2/+2
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-2/+2
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-3/+3
2020-04-14Auto merge of #70643 - Rustin-Liu:rustin-patch-rename, r=eddybbors-1/+1
2020-04-14Rename AssocKind::Method to AssocKind::FnRustin-Liu-1/+1
2020-04-13Just `unwrap()` instead of `unwrap_or(DUMMY_HIR_ID)`.marmeladema-1/+1
2020-04-12Remove usage of `DUMMY_HIR_ID` in `Scope::hir_id`marmeladema-1/+2