rust/tests/ui/unsized-locals
Jules Bertholet 5cd02eaece
Always require closure parameters to be Sized
The `rust-call` ABI isn't compatible with
`#![feature(unsized_fn_params)]`, so trying to use that feature with
closures leads to an ICE (#67981). This turns that ICE into a
type-check error.
2023-05-23 12:46:25 -04:00
..
auxiliary
align.rs
autoderef.rs
borrow-after-move.rs
borrow-after-move.stderr
box-fnonce.rs
by-value-trait-object-safety-rpass.rs
by-value-trait-object-safety-withdefault.rs
by-value-trait-object-safety.rs
by-value-trait-object-safety.stderr
double-move.rs
double-move.stderr
issue-30276-feature-flagged.rs
issue-30276-feature-flagged.stderr
issue-30276.rs
issue-30276.stderr
issue-50940-with-feature.rs
issue-50940-with-feature.stderr
issue-50940.rs
issue-50940.stderr
issue-67981.rs
issue-67981.stderr
reference-unsized-locals.rs
simple-unsized-locals.rs
suggest-borrow.rs
suggest-borrow.stderr
unsized-exprs2.rs
unsized-exprs2.stderr
unsized-exprs3.rs
unsized-exprs3.stderr
unsized-exprs-rpass.rs
unsized-exprs.rs
unsized-exprs.stderr
unsized-index.rs
unsized-locals-using-unsized-fn-params.rs
unsized-locals-using-unsized-fn-params.stderr
unsized-parameters.rs