rust/tests/ui/type-inference
lcnr 6b379b560d use try_structurally_resolve_type for method receiver
We'll still error due to the `opt_bad_ty` of `method_autoderef_steps`.
This slightly worsens the span of `infer_var.method()` which is now the
same as for `Box::new(infer_var).method()`.

Unlike `structurally_resolve_type`, `probe_op` does not check whether
the infcx is already tainted, so this results in 2 previously not emitted
errors.
2025-09-26 16:33:15 +02:00
..
box_has_sigdrop.rs revert change removing has_infer check. Commit conservatively patches for now, but more development proceeding. Also contains a more concise test 2025-09-23 12:37:59 -06:00
box_has_sigdrop.stderr revert change removing has_infer check. Commit conservatively patches for now, but more development proceeding. Also contains a more concise test 2025-09-23 12:37:59 -06:00
direct-self-reference-occurs-check.rs cleaned up some tests 2025-07-05 00:50:51 +05:00
direct-self-reference-occurs-check.stderr cleaned up some tests 2025-07-05 00:50:51 +05:00
dropper_has_sigdrop.rs revert change removing has_infer check. Commit conservatively patches for now, but more development proceeding. Also contains a more concise test 2025-09-23 12:37:59 -06:00
enum-self-reference-occurs-check.rs cleaned up some tests 2025-07-05 00:50:51 +05:00
enum-self-reference-occurs-check.stderr cleaned up some tests 2025-07-05 00:50:51 +05:00
float-type-inference-unification-14382.rs comments 2025-08-05 19:34:46 +05:00
generalize-subtyped-variables.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
infinite-type-occurs-check.rs cleaned up some tests 2025-07-05 00:50:51 +05:00
infinite-type-occurs-check.stderr cleaned up some tests 2025-07-05 00:50:51 +05:00
issue-30225.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30225.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-113283-alllocator-trait-eq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
or_else-multiple-type-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or_else-multiple-type-params.stderr In "specify type" suggestion, skip type params that are already known 2025-02-03 19:51:20 +00:00
partial-type-hint-12909.rs comments 2025-07-31 21:25:49 +05:00
regression-issue-81317.rs fix tidy and bless test 2025-05-05 21:09:31 +02:00
regression-issue-81317.stderr use try_structurally_resolve_type for method receiver 2025-09-26 16:33:15 +02:00
sort_by_key.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sort_by_key.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-inference-none-in-generic-ref.rs cleaned up some tests 2025-07-10 18:47:20 +05:00
type-inference-none-in-generic-ref.stderr cleaned up some tests 2025-07-10 18:47:20 +05:00
type-inference-unconstrained-none.rs cleaned up some tests 2025-07-10 18:47:20 +05:00
type-inference-unconstrained-none.stderr cleaned up some tests 2025-07-10 18:47:20 +05:00
unbounded-associated-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-associated-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unbounded-type-param-in-fn-with-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn-with-assoc-type.stderr Fortify generic param default checks 2025-08-06 01:26:26 +02:00
unbounded-type-param-in-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00