about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-41880.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-12/+0
2022-12-15Trim paths in E0599Esteban Küber-1/+1
2022-07-08Auto merge of #98816 - estebank:implicit-sized, r=oli-obkbors-1/+1
Track implicit `Sized` obligations in type params When we evaluate `ty::GenericPredicates` we introduce the implicit `Sized` predicate of type params, but we do so with only the `Predicate` its `Span` as context, we don't have an `Obligation` or `ObligationCauseCode` we could influence. To try and carry this information through, we add a new field to `ty::GenericPredicates` that tracks both which predicates come from a type param and whether that param has any bounds already (to use in suggestions). We also suggest adding a `?Sized` bound if appropriate on E0599. Address part of #98539.
2022-07-07Track implicit `Sized` obligations in type paramsEsteban Küber-1/+1
Suggest adding a `?Sized` bound if appropriate on E0599 by inspecting the HIR Generics. (Fix #98539)
2022-07-07Shorten span for closures.Camille GILLOT-1/+1
2022-06-22point to type param definition when not finding variant, method and assoc typeTakayuki Maeda-1/+1
use `def_ident_span` , `body_owner_def_id` instead of `in_progress_typeck_results`, `guess_head_span` use `body_id.owner` directly add description to label
2021-05-21remove generic argument insead of displaying "_"Aliénore Bouttefeux-1/+1
2021-04-15elision of generic argument in E0599 if the methode has not been found ↵Aliénore Bouttefeux-1/+1
anywhere and sugetion of type with method when found.
2020-01-08Unify output of "variant not found" errorsEsteban Küber-1/+1
2019-09-08Give method not found a primary span labelEsteban Küber-1/+1
2018-12-25Remove licensesMark Rousskov-2/+2
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+12