rust/tests/ui/layout/unexpected-unsized-field-issue-135020.rs
FedericoBruzzone cef97bce7b Add TooGeneric variant to LayoutError and emit Unknown one
- `check-pass` test for a MRE of #135020
- fail test for #135138
- switch to `TooGeneric` for checking CMSE fn signatures
- switch to `TooGeneric` for compute `SizeSkeleton` (for transmute)
- fix broken tests
2025-01-27 00:37:34 +01:00

8 lines
113 B
Rust

//@ check-pass
fn problem_thingy(items: &mut impl Iterator<Item = str>) {
items.peekable();
}
fn main() {}