about summary refs log tree commit diff
path: root/tests/ui/unsized-locals
AgeCommit message (Collapse)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-9/+9
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-06-13Rollup merge of #111885 - compiler-errors:rust-call-abi-sized, r=eholkMatthias Krüger-0/+25
Don't ICE on unsized `extern "rust-call"` call Conceptually builds on #111864, but doesn't depend on it.
2023-06-06Note why rust-call abi requires sized oblMichael Goulet-0/+1
2023-06-06Don't ICE on unsized rust-call abi callMichael Goulet-0/+24
2023-06-05diagnostics: do not suggest type name tweaks on type-inferred closure argsMichael Howell-4/+1
Fixes #111932
2023-05-23Always require closure parameters to be `Sized`Jules Bertholet-0/+24
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-13Auto merge of #111374 - tmiasko:align-unsized-locals, r=cjgillotbors-0/+30
Align unsized locals Allocate an extra space for unsized locals and manually align the storage, since alloca doesn't support dynamic alignment. Fixes #71416. Fixes #71695.
2023-05-08Align unsized localsTomasz Miąsko-0/+30
Allocate an extra space for unsized locals and manually align the storage, since alloca doesn't support dynamic alignment.
2023-05-08Tweak borrow suggestionMichael Goulet-4/+7
2023-01-30Modify primary span label for E0308Esteban Küber-2/+2
The previous output was unintuitive to users.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+859