rust/tests/ui/issues/issue-15756.rs
2023-01-11 09:32:08 +00:00

15 lines
226 B
Rust

use std::slice::Chunks;
use std::slice::ChunksMut;
fn dft_iter<'a, T>(arg1: Chunks<'a,T>, arg2: ChunksMut<'a,T>)
{
for
&mut something
//~^ ERROR the size for values of type
in arg2
{
}
}
fn main() {}