rust/tests/ui/unboxed-closures
2026-01-13 01:16:58 +00:00
..
auxiliary
arg-constrained-after-closure-inference.rs Be a bit more relaxed about not yet constrained infer vars in closure upvar analysis 2025-05-05 19:06:45 +00:00
callback-trait-prediction-70746.rs Add test batch 5 2025-10-12 00:33:20 -04:00
existential-printing.rs Fix missing self subst when rendering Fn* trait with no output type 2025-02-23 04:46:51 +00:00
existential-printing.stderr Fix missing self subst when rendering Fn* trait with no output type 2025-02-23 04:46:51 +00:00
fn-traits-hrtb-coercion.rs added test for 30904 2025-06-08 03:44:44 +05:00
fn-traits-hrtb-coercion.stderr added test for 30904 2025-06-08 03:44:44 +05:00
fn-traits-overloading-arity-18952.rs Rehome tests/ui/issues/ tests [1/?] 2025-07-24 17:01:44 -04:00
issue-18652.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-18661.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-30906.rs
issue-30906.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53448.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-tupled-arg-mismatch.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
non-tupled-arg-mismatch.stderr On unmet trait bound, mention if trait is unstable 2026-01-13 01:16:58 +00:00
non-tupled-call.rs
non-tupled-call.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
self-param-space-conflict-in-unboxed-closure-18685.rs Rehome tests/ui/issues/ tests [2/?] 2025-08-02 15:29:16 -04:00
type-id-higher-rank.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closure-call-22789.rs Rehome tests/ui/issues/ tests [1/?] 2025-07-24 17:01:44 -04:00
unboxed-closure-feature-gate.rs
unboxed-closure-feature-gate.stderr Bless tests 2024-01-13 12:46:58 -05:00
unboxed-closure-illegal-move.rs
unboxed-closure-illegal-move.stderr Adjust error message grammar to be less awkward 2025-08-14 12:50:07 -04:00
unboxed-closure-immutable-capture.rs
unboxed-closure-immutable-capture.stderr More accurate mutability suggestion 2024-07-04 05:36:34 +00:00
unboxed-closure-no-cyclic-sig.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
unboxed-closure-no-cyclic-sig.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closure-region.rs
unboxed-closure-region.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closure-sugar-default.rs
unboxed-closure-sugar-default.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closure-sugar-equiv.rs
unboxed-closure-sugar-equiv.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closure-sugar-lifetime-elision.rs
unboxed-closure-sugar-lifetime-elision.stderr Fix ... in multline code-skips in suggestions 2024-06-20 04:25:17 +00:00
unboxed-closure-sugar-not-used-on-fn.rs
unboxed-closure-sugar-not-used-on-fn.stderr Bless tests 2024-01-13 12:46:58 -05:00
unboxed-closure-sugar-region.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
unboxed-closure-sugar-region.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
unboxed-closure-sugar-used-on-struct-1.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-used-on-struct-1.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-used-on-struct-3.rs
unboxed-closure-sugar-used-on-struct-3.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unboxed-closure-sugar-used-on-struct.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-used-on-struct.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-wrong-number-number-type-parameters-1.rs print const and type errors in braces not square brackets 2023-05-26 16:01:29 +01:00
unboxed-closure-sugar-wrong-number-number-type-parameters-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-wrong-number-number-type-parameters-3.stderr print const and type errors in braces not square brackets 2023-05-26 16:01:29 +01:00
unboxed-closure-sugar-wrong-number-number-type-parameters.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
unboxed-closure-sugar-wrong-number-number-type-parameters.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
unboxed-closure-sugar-wrong-trait.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
unboxed-closure-sugar-wrong-trait.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
unboxed-closures-all-traits.rs remove some unnecessary feature(lang_items) 2025-10-19 13:44:07 +02:00
unboxed-closures-blanket-fn-mut.rs remove some unnecessary feature(lang_items) 2025-10-19 13:44:07 +02:00
unboxed-closures-blanket-fn.rs remove some unnecessary feature(lang_items) 2025-10-19 13:44:07 +02:00
unboxed-closures-borrow-conflict.rs
unboxed-closures-borrow-conflict.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-boxed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-by-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-call-fn-autoderef.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-call-sugar-autoderef.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-call-sugar-object-autoderef.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-call-sugar-object.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-counter-not-moved.rs Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
unboxed-closures-counter-not-moved.stderr Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
unboxed-closures-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-direct-sugary-call.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-extern-fn-hr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-extern-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-failed-recursive-fn-1.rs
unboxed-closures-failed-recursive-fn-1.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
unboxed-closures-failed-recursive-fn-2.rs
unboxed-closures-failed-recursive-fn-2.stderr support calls on opaque types :< 2025-09-18 12:58:38 +02:00
unboxed-closures-fn-as-fnmut-and-fnonce.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-fnmut-as-fn.rs
unboxed-closures-fnmut-as-fn.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
unboxed-closures-fnmut-as-fnonce.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-generic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-arg-types-from-expected-bound.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-infer-arg-types-from-expected-object-type.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-infer-argument-types-two-region-pointers.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
unboxed-closures-infer-argument-types-two-region-pointers.stderr best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
unboxed-closures-infer-explicit-call-early.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-fn-once-move-from-projection.rs Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
unboxed-closures-infer-fn-once-move-from-projection.stderr Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
unboxed-closures-infer-fnmut-calling-fnmut-no-mut.rs
unboxed-closures-infer-fnmut-calling-fnmut-no-mut.stderr More accurate mutability suggestion 2024-07-04 05:36:34 +00:00
unboxed-closures-infer-fnmut-calling-fnmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-fnmut-missing-mut.rs
unboxed-closures-infer-fnmut-missing-mut.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-infer-fnmut-move-missing-mut.rs
unboxed-closures-infer-fnmut-move-missing-mut.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-infer-fnmut-move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-fnmut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-fnonce-call-twice.rs
unboxed-closures-infer-fnonce-call-twice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-infer-fnonce-move-call-twice.rs
unboxed-closures-infer-fnonce-move-call-twice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-infer-fnonce-move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-fnonce.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-kind.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-recursive-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-infer-upvar.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-manual-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-monomorphization.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-move-from-projection-issue-30046.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-move-mutable.rs Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
unboxed-closures-move-mutable.stderr Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
unboxed-closures-move-some-upvars-in-by-ref-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-mutate-upvar.rs
unboxed-closures-mutate-upvar.stderr More accurate mutability suggestion 2024-07-04 05:36:34 +00:00
unboxed-closures-mutated-upvar-from-fn-closure.rs
unboxed-closures-mutated-upvar-from-fn-closure.stderr Provide more context on Fn closure modifying binding 2025-11-03 20:26:18 +00:00
unboxed-closures-prelude.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-recursive-fn-using-fn-mut.rs
unboxed-closures-recursive-fn-using-fn-mut.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unboxed-closures-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-single-word-env.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-static-call-fn-once.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unboxed-closures-static-call-wrong-trait.rs
unboxed-closures-static-call-wrong-trait.stderr Avoid extra path trimming in method not found error 2025-05-24 23:31:07 +02:00
unboxed-closures-sugar-object.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-type-mismatch-closure-from-another-scope.rs On type error involving closure, avoid ICE 2023-10-12 23:29:02 +00:00
unboxed-closures-type-mismatch-closure-from-another-scope.stderr Make typo in field and name suggestions verbose 2025-12-09 17:29:23 +00:00
unboxed-closures-type-mismatch.rs On type error of closure call argument, point at earlier calls that affected inference 2023-09-28 22:04:15 +00:00
unboxed-closures-type-mismatch.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unboxed-closures-unique-type-id.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unboxed-closures-unsafe-extern-fn.rs
unboxed-closures-unsafe-extern-fn.stderr Use parenthetical notation for Fn traits 2024-05-29 22:26:54 +00:00
unboxed-closures-wrong-abi.rs
unboxed-closures-wrong-abi.stderr Use parenthetical notation for Fn traits 2024-05-29 22:26:54 +00:00
unboxed-closures-wrong-arg-type-extern-fn.rs
unboxed-closures-wrong-arg-type-extern-fn.stderr Use parenthetical notation for Fn traits 2024-05-29 22:26:54 +00:00
unboxed-closures-zero-args.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00