summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-15756.rs
blob: e0861dee61ea1c4836ed5e8296b92b0c02bd14fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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() {}