rust/src/test/ui/impl-trait
2022-10-25 16:37:11 +00:00
..
auxiliary
diagnostics add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
explicit-generic-args-with-impl-trait Deactivate feature gate explicit_generic_args_with_impl_trait 2022-06-06 12:21:49 +01:00
in-trait Delay span bug when we can't map lifetimes back in collect_trait_impl_trait_tys 2022-10-24 18:45:50 +00:00
issues Unconditionally encode hidden types in typeck results 2022-10-07 19:36:32 +00:00
multiple-lifetimes Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
associated-impl-trait-type-generic-trait.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type-trivial.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
async_scope_creep.rs Fix mixing lazy TAIT and RPIT in their defining scopes 2022-03-28 17:02:21 +00:00
auto-trait-leak-rpass.rs
auto-trait-leak.rs Remove type flag based opaque type workaround 2022-07-01 13:19:27 +00:00
auto-trait-leak.stderr Clean up query descriptions 2022-10-18 17:29:42 +02:00
auto-trait-leak2.rs Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00
auto-trait-leak2.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
auto-trait.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
auto-trait.stderr Perform coherence checking per impl. 2022-06-22 21:18:46 +02:00
autoderef.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
bound-normalization-fail.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
bound-normalization-fail.stderr Point at return expression for RPIT-related error 2022-06-21 18:23:37 -07:00
bound-normalization-pass.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
bounds_regression.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
can-return-unconstrained-closure.rs
closure-calling-parent-fn.rs
closure-in-impl-trait-arg.rs arg position 2020-10-07 10:19:04 +02:00
closure-in-impl-trait.rs do not lower patterns in impl Trait 2020-10-07 10:19:04 +02:00
cross-return-site-inference.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
cross-return-site-inference.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
deprecated_annotation.rs
divergence.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
does-not-live-long-enough.rs Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
does-not-live-long-enough.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
dyn-trait-elided-two-inputs-assoc.rs
dyn-trait-elided-two-inputs-param.rs
dyn-trait-elided-two-inputs-ref-assoc.rs
dyn-trait-elided-two-inputs-ref-param.rs
dyn-trait-return-should-be-impl-trait.rs Ensure tail expression will have a Ty for E0746 2020-04-20 11:17:03 -07:00
dyn-trait-return-should-be-impl-trait.stderr Fix late-bound ICE in unsized return suggestion 2022-04-02 15:29:55 -07:00
equal-hidden-lifetimes.rs Handle equal regions in opaque type inference 2020-02-14 22:40:03 +00:00
equal-hidden-lifetimes.stderr Bless tests. 2022-04-30 13:55:17 +02:00
equality-rpass.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality-rpass.stderr bless ui tests 2022-10-01 10:03:06 +00:00
equality.rs skip pointing out ambuguous impls in alloc/std crates too 2022-02-17 19:19:37 -08:00
equality.stderr bless ui tests 2022-10-01 10:03:06 +00:00
equality2.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality2.stderr bless ui tests 2022-10-01 10:03:06 +00:00
example-calendar.rs Update chalk tests 2022-02-12 13:39:52 +00:00
example-st.rs
extra-item.rs
extra-item.stderr
fallback.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
fallback_inference.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
fallback_inference.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
generic-with-implicit-hrtb-without-dyn.edition2015.stderr address review 2022-09-26 14:21:39 +02:00
generic-with-implicit-hrtb-without-dyn.edition2021.stderr address review 2022-09-26 14:21:39 +02:00
generic-with-implicit-hrtb-without-dyn.rs address review 2022-09-26 14:21:39 +02:00
hidden-lifetimes.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
hidden-lifetimes.stderr Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
hidden-type-is-opaque-2.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
hidden-type-is-opaque-2.stderr Only label place where type is needed if span is meaningful 2022-07-01 17:38:34 +00:00
hidden-type-is-opaque.rs Test that TAIT and RPIT are in sync 2022-03-28 17:01:23 +00:00
impl-generic-mismatch-ab.rs
impl-generic-mismatch-ab.stderr Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
impl-generic-mismatch.rs add a missing test case for impl generic mismatch 2022-08-24 14:09:55 +09:00
impl-generic-mismatch.stderr add a missing test case for impl generic mismatch 2022-08-24 14:09:55 +09:00
impl-trait-in-macro.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
impl-trait-in-macro.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
impl-trait-plus-priority.rs
impl-trait-plus-priority.stderr
impl_trait_projections.rs
impl_trait_projections.stderr Update ui test output 2022-03-27 19:21:50 +02:00
issue-46959.rs Move tests 2022-05-20 10:53:58 -03:00
issue-49579.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-49685.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-51185.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-54966.rs Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-54966.stderr Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-55872-1.rs Make RPIT and TAIT work exactly the same 2022-06-29 08:58:36 +00:00
issue-55872-1.stderr Make RPIT and TAIT work exactly the same 2022-06-29 08:58:36 +00:00
issue-55872-2.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-2.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-3.rs Make RPIT and TAIT work exactly the same 2022-06-29 08:58:36 +00:00
issue-55872-3.stderr Make RPIT and TAIT work exactly the same 2022-06-29 08:58:36 +00:00
issue-55872.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-56445.rs make ConstEvaluatable more strict 2020-09-08 16:39:12 +02:00
issue-68532.rs Add test for #68532 2020-05-27 00:48:37 +09:00
issue-72911.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-72911.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-86465.rs Require lifetime bounds for opaque types in order to allow hidden types to capture said lifetimes 2022-10-14 08:15:51 +00:00
issue-86465.stderr Require lifetime bounds for opaque types in order to allow hidden types to capture said lifetimes 2022-10-14 08:15:51 +00:00
issue-87450.rs Add regression test for issue #87450. 2021-07-30 18:32:22 +00:00
issue-87450.stderr bless ui tests 2022-10-01 10:03:06 +00:00
issue-99073-2.rs Check that RPITs constrained by a recursive call in a closure are compatible 2022-07-26 07:46:30 +00:00
issue-99073-2.stderr Check that RPITs constrained by a recursive call in a closure are compatible 2022-07-26 07:46:30 +00:00
issue-99073.rs Check that RPITs constrained by a recursive call in a closure are compatible 2022-07-26 07:46:30 +00:00
issue-99073.stderr Check that RPITs constrained by a recursive call in a closure are compatible 2022-07-26 07:46:30 +00:00
issue-99642-2.rs add tests and comment 2022-07-27 14:43:46 +03:00
issue-99642.rs add tests and comment 2022-07-27 14:43:46 +03:00
issue-99914.rs Do not leak type variables from opaque type relation 2022-07-30 00:41:39 +00:00
issue-99914.stderr Do not leak type variables from opaque type relation 2022-07-30 00:41:39 +00:00
issue-100075-2.rs Fall back when relating two opaques by substs in MIR typeck 2022-08-10 03:27:41 +00:00
issue-100075-2.stderr bless ui tests 2022-10-01 10:03:06 +00:00
issue-100075.rs Fall back when relating two opaques by substs in MIR typeck 2022-08-10 03:27:41 +00:00
issue-100075.stderr Fall back when relating two opaques by substs in MIR typeck 2022-08-10 03:27:41 +00:00
issue-100187.rs Add regression test for issue 100187 2022-08-09 15:42:59 -03:00
issue-102605.rs add test for #102605 2022-10-04 16:15:09 +08:00
issue-102605.stderr add test for #102605 2022-10-04 16:15:09 +08:00
issue-103181-1.rs tests 2022-10-21 19:04:13 +00:00
issue-103181-1.stderr tests 2022-10-21 19:04:13 +00:00
issue-103181-2.rs tests 2022-10-21 19:04:13 +00:00
issue-103181-2.stderr tests 2022-10-21 19:04:13 +00:00
lifetimes.rs
lifetimes2.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
method-suggestion-no-duplication.rs
method-suggestion-no-duplication.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
multiple-lifetimes.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
must_outlive_least_region_or_bound.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
must_outlive_least_region_or_bound.stderr Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
needs_least_region_or_bound.rs stabilize member constraints 2021-05-26 06:01:53 -04:00
negative-reasoning.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
negative-reasoning.stderr Restore Opaque behavior to coherence check 2022-07-25 23:38:41 +00:00
nested-return-type.rs Fix and test nested impl Trait 2020-02-14 22:40:03 +00:00
nested-return-type2-tait.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type2-tait.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type2-tait2.rs Revert "Rollup merge of #97346 - JohnTitor:remove-back-compat-hacks, r=oli-obk" 2022-07-28 15:22:02 +00:00
nested-return-type2-tait2.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
nested-return-type2-tait3.rs Revert "Rollup merge of #97346 - JohnTitor:remove-back-compat-hacks, r=oli-obk" 2022-07-28 15:22:02 +00:00
nested-return-type2-tait3.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
nested-return-type2.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type2.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait2.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait2.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait3.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3-tait3.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3.rs Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-return-type3.stderr Make it a lint for all opaque types 2022-10-02 19:50:19 +00:00
nested-rpit-hrtb.rs Add a test with both passing and erroneous cases. 2022-05-14 14:11:18 +02:00
nested-rpit-hrtb.stderr Add a test with both passing and erroneous cases. 2022-05-14 14:11:18 +02:00
nested-rpit-with-anonymous-lifetimes.rs Do anonymous lifetimes remapping correctly for nested rpits 2022-10-19 16:49:39 -03:00
nested_impl_trait.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
nested_impl_trait.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
nesting.rs
no-method-suggested-traits.rs
no-method-suggested-traits.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
no-trait.rs
no-trait.stderr
object-unsafe-trait-in-return-position-dyn-trait.rs
object-unsafe-trait-in-return-position-dyn-trait.stderr Tweak WellFormedLocs a bit 2022-08-30 06:19:48 +00:00
object-unsafe-trait-in-return-position-impl-trait.rs
object-unsafe-trait-in-return-position-impl-trait.stderr Resolve vars before emitting coerce error 2022-08-04 03:05:57 +00:00
point-to-type-err-cause-on-impl-trait-return.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
point-to-type-err-cause-on-impl-trait-return.stderr revive suggestions for boxed trait objects instead of impl Trait 2022-08-07 16:50:06 +09:00
printing-binder.rs Fix printing impl trait under binders 2022-06-24 15:36:55 -07:00
printing-binder.stderr Fix printing impl trait under binders 2022-06-24 15:36:55 -07:00
private_unused.rs Move private_unused.rs test to impl-trait 2021-08-18 09:11:43 -03:00
projection-mismatch-in-impl-where-clause.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
projection-mismatch-in-impl-where-clause.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
projection.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
question_mark.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
recursive-impl-trait-type-direct.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
recursive-impl-trait-type-indirect.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
recursive-impl-trait-type-indirect.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
recursive-impl-trait-type-through-non-recursive.rs Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
recursive-impl-trait-type-through-non-recursive.stderr fix one more case of trailing space 2022-06-16 14:40:29 +03:00
recursive-type-alias-impl-trait-declaration-too-subtle-2.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle-2.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
recursive-type-alias-impl-trait-declaration.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
region-escape-via-bound-contravariant-closure.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
region-escape-via-bound-contravariant.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
region-escape-via-bound.rs Use real opaque type instead of just saying impl Trait 2022-07-26 06:19:58 +00:00
region-escape-via-bound.stderr Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
return-position-impl-trait-minimal.rs
rpit-assoc-pair-with-lifetime.rs Completely remove captures flag 2022-08-04 11:26:53 -03:00
rpit-not-sized.rs don't do Sized/other fn signature checks on RPIT's real type 2022-05-26 10:21:20 -07:00
rpit-not-sized.stderr don't do Sized/other fn signature checks on RPIT's real type 2022-05-26 10:21:20 -07:00
static-return-lifetime-infered.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
static-return-lifetime-infered.stderr Name impl trait in region bound suggestion 2022-10-25 16:37:11 +00:00
suggest-calling-rpit-closure.rs Improve suggestion for calling closure on type mismatch 2022-06-21 18:12:43 -07:00
suggest-calling-rpit-closure.stderr Suggest calling trait objects and parameters too, when possible 2022-08-27 23:08:44 +00:00
trait_resolution.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
trait_type.rs
trait_type.stderr Suggest changing impl parameter types to match trait 2021-04-08 13:50:47 -07:00
two_tait_defining_each_other.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other2.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
two_tait_defining_each_other2.stderr Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
two_tait_defining_each_other3.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other3.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
type-alias-generic-param.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
type-alias-impl-trait-in-fn-body.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
type-arg-mismatch-due-to-impl-trait.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
type-arg-mismatch-due-to-impl-trait.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
type_parameters_captured.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
type_parameters_captured.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
unactionable_diagnostic.fixed Report diagnostics at the actually actionable site 2022-09-23 08:00:02 +00:00
unactionable_diagnostic.rs Report diagnostics at the actually actionable site 2022-09-23 08:00:02 +00:00
unactionable_diagnostic.stderr Report diagnostics at the actually actionable site 2022-09-23 08:00:02 +00:00
universal-mismatched-type.rs
universal-mismatched-type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
universal-two-impl-traits.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
universal-two-impl-traits.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
universal_hrtb_anon.rs
universal_hrtb_named.rs
universal_in_adt_in_parameters.rs
universal_in_impl_trait_in_parameters.rs
universal_in_trait_defn_parameters.rs
universal_multiple_bounds.rs
universal_wrong_bounds.rs
universal_wrong_bounds.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
universal_wrong_hrtb.rs Fail gracefully when encountering an HRTB in APIT. 2022-06-03 22:50:14 +02:00
universal_wrong_hrtb.stderr Fail gracefully when encountering an HRTB in APIT. 2022-06-03 22:50:14 +02:00
unsafety-checking-cycle.rs
wf-eval-order.rs Fix bugs in evaluating WellFormed predicates 2020-10-06 11:19:31 +01:00
where-allowed-2.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
where-allowed-2.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
where-allowed.rs fix impl trait message, bless tests 2022-02-17 19:18:42 -08:00
where-allowed.stderr bless ui tests 2022-10-01 10:03:06 +00:00
xcrate.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
xcrate_simple.rs