rust/src/test/ui/closures
2022-12-10 14:35:40 -08:00
..
2229_closure_analysis Tweak span for #[must_use] 2022-11-10 18:01:02 -08:00
binder Collect late-bound regions from all closure parents in closure_mapping 2022-10-31 21:25:08 +00:00
closure-expected-type Fully stabilize NLL 2022-06-03 17:16:41 -04:00
print Remove ReEmpty 2022-09-08 20:55:55 -04:00
add_semicolon_non_block_closure.rs Suggest adding a semicolon to a closure without block 2022-05-24 21:57:51 +00:00
add_semicolon_non_block_closure.stderr Suggest adding a semicolon to a closure without block 2022-05-24 21:57:51 +00:00
closure-array-break-length.rs ty: convert ErrorHandled::Reported to ConstKind::Error. 2020-04-16 19:00:30 +03:00
closure-array-break-length.stderr Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
closure-bounds-cant-promote-superkind-in-struct.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-cant-promote-superkind-in-struct.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
closure-bounds-static-cant-capture-borrowed.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
closure-bounds-static-cant-capture-borrowed.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
closure-bounds-subtype.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-subtype.stderr Generalize call suggestion for unsatisfied predicate 2022-10-19 02:06:19 +00:00
closure-expected.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
closure-expected.stderr Bless ui tests 2021-12-17 20:46:48 +08:00
closure-immutable-outer-variable.fixed liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
closure-immutable-outer-variable.rs liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
closure-immutable-outer-variable.rs.fixed remove remaining copyright headers 2018-12-28 21:50:33 +01:00
closure-immutable-outer-variable.stderr liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
closure-move-sync.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
closure-move-sync.stderr Targeted fixes addressing erroneous suggestions 2022-08-21 02:35:11 +00:00
closure-no-fn-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-1.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure-no-fn-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-2.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure-no-fn-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-3.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure-no-fn-4.rs diagnostics: Note capturing closures can't be coerced to fns 2020-11-29 03:35:38 -05:00
closure-no-fn-4.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure-no-fn-5.rs diagnostics: Note capturing closures can't be coerced to fns 2020-11-29 03:35:38 -05:00
closure-no-fn-5.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure-referencing-itself-issue-25954.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-referencing-itself-issue-25954.stderr Update tests 2019-03-11 23:10:26 +03:00
closure-reform-bad.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-reform-bad.stderr address review 2022-09-26 14:21:39 +02:00
closure-return-type-mismatch.rs Explain where the closure return type was inferred 2020-10-22 10:44:55 -04:00
closure-return-type-mismatch.stderr Explain where the closure return type was inferred 2020-10-22 10:44:55 -04:00
closure-return-type-must-be-sized.rs add test for issue 82633 2022-10-05 22:22:59 +08:00
closure-return-type-must-be-sized.stderr Introduce with_forced_trimmed_paths 2022-12-10 14:35:40 -08:00
closure-wrong-kind.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-wrong-kind.stderr Note closure kind mismatch cause 2022-08-21 02:35:11 +00:00
closure_cap_coerce_many_fail.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
closure_cap_coerce_many_fail.stderr Shorten span for closures. 2022-07-07 09:27:42 +02:00
closure_no_cap_coerce_many_check_pass.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
closure_no_cap_coerce_many_run_pass.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
closure_no_cap_coerce_many_unsafe_0.mir.stderr Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
closure_no_cap_coerce_many_unsafe_0.rs Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
closure_no_cap_coerce_many_unsafe_0.thir.stderr Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
closure_no_cap_coerce_many_unsafe_1.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
closure_promotion.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
coerce-unsafe-closure-to-unsafe-fn-ptr.mir.stderr Revert "add DefId to unsafety violations and display function path in E0133" 2022-04-26 14:49:28 +00:00
coerce-unsafe-closure-to-unsafe-fn-ptr.rs Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
coerce-unsafe-closure-to-unsafe-fn-ptr.thir.stderr only show a simple description in E0133 span label 2022-04-24 18:33:07 +02:00
coerce-unsafe-to-closure.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
coerce-unsafe-to-closure.stderr Make the trait bound is not satisfied specify kind 2022-08-29 16:53:36 +03:00
deeply-nested_closures.rs Avoid exponential behaviour when relating types 2020-02-02 12:10:08 +00:00
diverging-closure.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
issue-6801.rs Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
issue-6801.stderr fix one more case of trailing space 2022-06-16 14:40:29 +03:00
issue-10398.rs Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
issue-10398.stderr Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
issue-23012-supertrait-signature-inference.rs Elaborate supertrait obligations when deducing closure signature 2022-11-03 15:52:38 +00:00
issue-41366.rs Normalize associated types with bound vars 2021-08-24 22:29:39 -04:00
issue-42463.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-46742.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
issue-48109.rs Test for coercion between (FnDef | Closure) and (FnDef | Closure) 2020-05-09 11:02:31 +08:00
issue-52437.rs stop evaluating constants in Relate 2022-09-08 11:14:33 +02:00
issue-52437.stderr stop evaluating constants in Relate 2022-09-08 11:14:33 +02:00
issue-67123.rs Do not ICE on closure 2019-12-09 18:55:38 +09:00
issue-67123.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-68025.rs Fix ICE #68025 2020-01-20 07:06:27 +09:00
issue-72408-nested-closures-exponential.rs Only visit types once when walking the type tree 2020-09-17 20:44:11 -05:00
issue-78720.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-78720.stderr Adjust diagnostics, bless tests 2022-11-05 18:05:44 +00:00
issue-80313-mutable-borrow-in-closure.rs Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutable-borrow-in-closure.stderr Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutable-borrow-in-move-closure.rs Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutable-borrow-in-move-closure.stderr Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutation-in-closure.rs Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutation-in-closure.stderr Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutation-in-move-closure.rs Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-80313-mutation-in-move-closure.stderr Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
issue-81700-mut-borrow.rs Fix panic when emitting diagnostic for closure mutable binding error 2021-02-03 12:36:24 -05:00
issue-81700-mut-borrow.stderr Fix panic when emitting diagnostic for closure mutable binding error 2021-02-03 12:36:24 -05:00
issue-82438-mut-without-upvar.rs Skip emitting closure diagnostic when closure_kind_origins has no entry 2021-02-23 09:46:20 -05:00
issue-82438-mut-without-upvar.stderr fix one more case of trailing space 2022-06-16 14:40:29 +03:00
issue-84044-drop-non-mut.rs Add test for old ICE 2022-01-28 18:42:23 -05:00
issue-84044-drop-non-mut.stderr Add test for old ICE 2022-01-28 18:42:23 -05:00
issue-84128.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
issue-84128.stderr Don't point out return span on every E0308 2022-08-04 02:55:40 +00:00
issue-87461.rs Improve error reporting for closure return type mismatches 2021-08-21 00:13:09 +02:00
issue-87461.stderr Bless tests. 2022-06-10 20:16:35 +02:00
issue-87814-1.rs select obligations after check_casts 2021-08-23 19:16:16 +00:00
issue-87814-2.rs Stabilize try_reserve 2021-10-04 10:29:46 +01:00
issue-90871.rs Use type_ascribe! in many UI tests 2022-11-19 22:16:42 +01:00
issue-90871.stderr Use type_ascribe! in many UI tests 2022-11-19 22:16:42 +01:00
issue-97607.rs add test for issue 97607 2022-10-21 18:42:31 +08:00
issue-99565.rs Don't suggest unnameable generic arguments 2022-07-22 04:55:31 +02:00
issue-99565.stderr Don't suggest unnameable generic arguments 2022-07-22 04:55:31 +02:00
issue-101696.rs Normalize closure signature after construction 2022-09-12 04:20:58 +00:00
issue-102089-multiple-opaque-cast.rs Skip chained OpaqueCast when building captures. 2022-10-09 16:18:16 +00:00
local-type-mix.rs Lower closure prototype after its body. 2021-01-21 22:59:07 +01:00
local-type-mix.stderr Lower closure prototype after its body. 2021-01-21 22:59:07 +01:00
multiple-fn-bounds.rs Point out incompatible closure bounds 2022-10-10 05:05:26 +00:00
multiple-fn-bounds.stderr Point out incompatible closure bounds 2022-10-10 05:05:26 +00:00
old-closure-arg-call-as.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-arg.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-explicit-types.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-expr-precedence.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-expr-precedence.stderr Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-expression-remove-semicolon.fixed slightly improve no return for returning function error 2022-10-04 19:13:40 +08:00
old-closure-expression-remove-semicolon.rs slightly improve no return for returning function error 2022-10-04 19:13:40 +08:00
old-closure-expression-remove-semicolon.stderr slightly improve no return for returning function error 2022-10-04 19:13:40 +08:00
old-closure-fn-coerce.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-iter-1.rs Move block-related tests 2021-01-01 09:23:10 +09:00
old-closure-iter-2.rs Move block-related tests 2021-01-01 09:23:10 +09:00
once-move-out-on-heap.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
semistatement-in-lambda.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
supertrait-hint-references-assoc-ty.rs Normalize signature when deducing closure signature from supertraits 2022-11-06 02:07:34 +00:00
thir-unsafeck-issue-85871.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00