rust/tests/ui/inference
Nicholas Nethercote 5f4424bfaf Handle ReVar in note_and_explain_region.
PR #124918 made this path abort. The added test, from fuzzing,
identified that it is reachable.
2024-05-23 12:16:49 +10:00
..
auxiliary
need_type_info
ambiguous_type_parameter.rs
ambiguous_type_parameter.stderr
array-len-mismatch.rs
array-len-mismatch.stderr
cannot-infer-async.rs
cannot-infer-async.stderr
cannot-infer-closure-circular.rs Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
cannot-infer-closure-circular.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
cannot-infer-closure.rs
cannot-infer-closure.stderr
cannot-infer-partial-try-return.rs
cannot-infer-partial-try-return.stderr
char-as-str-multi.rs
char-as-str-multi.stderr
char-as-str-single.fixed
char-as-str-single.rs
char-as-str-single.stderr
deref-suggestion.rs
deref-suggestion.stderr
dont-collect-stmts-from-parent-body.rs Don't proceed into parent bodies when collecting stmts for possible return suggestion 2024-04-16 15:56:48 -04:00
dont-collect-stmts-from-parent-body.stderr Don't proceed into parent bodies when collecting stmts for possible return suggestion 2024-04-16 15:56:48 -04:00
erase-type-params-in-label.rs
erase-type-params-in-label.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
hint-closure-signature-119266.rs Print note with closure signature on type mismatch 2024-04-20 15:48:27 +02:00
hint-closure-signature-119266.stderr Print note with closure signature on type mismatch 2024-04-20 15:48:27 +02:00
ice-cannot-relate-region-109178.rs add test for ice "cannot relate region: LUB(ReErased, ReError)" 2024-03-21 22:02:32 +01:00
ice-cannot-relate-region-109178.stderr add test for ice "cannot relate region: LUB(ReErased, ReError)" 2024-03-21 22:02:32 +01:00
ice-ifer-var-leaked-out-of-rollback-122098.rs add test for https://github.com/rust-lang/rust/issues/122098 ICE: index out of bounds, snapshot_vec.rs 2024-03-21 20:57:54 +01:00
ice-ifer-var-leaked-out-of-rollback-122098.stderr add test for https://github.com/rust-lang/rust/issues/122098 ICE: index out of bounds, snapshot_vec.rs 2024-03-21 20:57:54 +01:00
infer-binary-operand-behind-reference.rs
infer-fn-tail-expr.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
inference_unstable_featured.rs
inference_unstable_featured.stderr
inference_unstable_forced.rs
inference_unstable_forced.stderr
inference_unstable.rs
inference_unstable.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
inference-variable-behind-raw-pointer.rs
inference-variable-behind-raw-pointer.stderr
issue-3743.rs
issue-12028.rs
issue-12028.stderr
issue-28935.rs
issue-36053.rs
issue-70082.rs
issue-70082.stderr
issue-70703.rs
issue-71309.rs
issue-71309.stderr
issue-71584.rs
issue-71584.stderr
issue-71732.rs
issue-71732.stderr
issue-72616.rs
issue-72616.stderr
issue-72690.rs
issue-72690.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
issue-80409.compat.stderr Check closure args and returns are WF 2024-04-25 10:03:17 -04:00
issue-80409.no-compat.stderr Check closure args and returns are WF 2024-04-25 10:03:17 -04:00
issue-80409.rs Check closure args and returns are WF 2024-04-25 10:03:17 -04:00
issue-80816.rs
issue-80816.stderr
issue-81522.rs
issue-83606.rs Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
issue-83606.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
issue-86094-suggest-add-return-to-coerce-ret-ty.rs
issue-86094-suggest-add-return-to-coerce-ret-ty.stderr
issue-86162-1.rs
issue-86162-1.stderr
issue-86162-2.rs
issue-86162-2.stderr
issue-103587.rs
issue-103587.stderr
issue-104649.rs
issue-104649.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
issue-107090.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-107090.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-113354.fixed
issue-113354.rs
issue-113354.stderr
lambda-infer-unresolved.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
lub-glb-with-unbound-infer-var.rs
multiple-impl-apply.rs
multiple-impl-apply.stderr
newlambdas-ret-infer2.rs
newlambdas-ret-infer.rs
note-and-explain-ReVar-124973.rs Handle ReVar in note_and_explain_region. 2024-05-23 12:16:49 +10:00
note-and-explain-ReVar-124973.stderr Handle ReVar in note_and_explain_region. 2024-05-23 12:16:49 +10:00
order-dependent-cast-inference.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
order-dependent-cast-inference.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
question-mark-type-infer.rs
question-mark-type-infer.stderr
range-type-infer.rs
simple-infer.rs
stmts-as-exp-105431.rs
stmts-as-exp-105431.stderr
str-as-char.fixed
str-as-char.rs
str-as-char.stderr review comment: str -> string in messages 2024-03-17 23:35:18 +00:00
tutorial-suffix-inference-test.rs
tutorial-suffix-inference-test.stderr
type-infer-generalize-ty-var.rs
untyped-primitives.rs Remove From impls for unstable types that break inference 2024-04-11 18:04:31 -04:00