rust/tests/ui/inference
Jubilee f7a34f9518
Rollup merge of #113567 - chenyukang:yukang-fix-113354-while-let, r=cjgillot
While let suggestion will work for closure body

Fixes #113354
2023-07-11 21:00:28 -07:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
need_type_info Don't suggest impl Trait in path position 2023-07-08 00:04:33 +08:00
ambiguous_type_parameter.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous_type_parameter.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-len-mismatch.rs Suggest the correct array length on mismatch 2023-02-12 02:15:41 +00:00
array-len-mismatch.stderr Suggest the correct array length on mismatch 2023-02-12 02:15:41 +00:00
cannot-infer-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-async.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-closure-circular.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-closure-circular.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-closure.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-partial-try-return.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-infer-partial-try-return.stderr Deprioritize fulfillment errors that come from expansions. 2023-01-14 14:05:26 +01:00
char-as-str-multi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
char-as-str-multi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
char-as-str-single.fixed fix type suggestions in match arms 2023-03-25 22:27:24 +01:00
char-as-str-single.rs fix type suggestions in match arms 2023-03-25 22:27:24 +01:00
char-as-str-single.stderr fix type suggestions in match arms 2023-03-25 22:27:24 +01:00
deref-suggestion.rs Suggest deref on comparison binop RHS even if type is not Copy 2023-04-19 16:47:11 +00:00
deref-suggestion.stderr Point at correct exprs for assert_eq type mismatch 2023-06-08 16:30:05 +00:00
erase-type-params-in-label.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
erase-type-params-in-label.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infer-binary-operand-behind-reference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inference_unstable_featured.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inference_unstable_featured.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
inference_unstable_forced.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inference_unstable_forced.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inference_unstable.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
inference_unstable.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
inference-variable-behind-raw-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inference-variable-behind-raw-pointer.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28935.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36053.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70082.rs diagnostics: add test case for already-solved issue 2023-04-25 13:07:09 -07:00
issue-70082.stderr diagnostics: add test case for already-solved issue 2023-04-25 13:07:09 -07:00
issue-70703.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71309.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71309.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71584.rs Move tests 2023-05-08 17:58:01 -03:00
issue-71584.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-71732.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71732.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
issue-72616.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72616.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72690.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72690.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80409.rs Add regression test for #80409 2023-04-05 21:20:07 +09:00
issue-80816.rs Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-80816.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-81522.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83606.rs defer array len printing to const arg printing 2023-01-18 04:07:39 +00:00
issue-83606.stderr update tests/ui 2023-04-07 18:07:11 +10:00
issue-86162-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86162-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86162-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86162-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103587.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103587.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104649.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104649.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-107090.rs Introduce ReError 2023-02-09 10:26:49 +00:00
issue-107090.stderr Introduce ReError 2023-02-09 10:26:49 +00:00
issue-113354.fixed While let suggestion will work for closure 2023-07-11 22:00:53 +08:00
issue-113354.rs While let suggestion will work for closure 2023-07-11 22:00:53 +08:00
issue-113354.stderr While let suggestion will work for closure 2023-07-11 22:00:53 +08:00
lub-glb-with-unbound-infer-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
newlambdas-ret-infer2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
newlambdas-ret-infer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
question-mark-type-infer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
question-mark-type-infer.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
range-type-infer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple-infer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-as-char.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-as-char.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
str-as-char.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tutorial-suffix-inference-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tutorial-suffix-inference-test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-infer-generalize-ty-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00