summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-20605.rs
blob: 17b7d32ebf59b95e47fd19df991b0d92838b2fad (plain)
1
2
3
4
5
6
fn changer<'a>(mut things: Box<dyn Iterator<Item=&'a mut u8>>) {
    for item in *things { *item = 0 }
//~^ ERROR the size for values of type
}

fn main() {}