rust/tests/ui/issues/issue-20605.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
158 B
Rust
Raw Normal View History

2019-05-28 13:46:13 -05:00
fn changer<'a>(mut things: Box<dyn Iterator<Item=&'a mut u8>>) {
for item in *things { *item = 0 }
2018-07-10 16:10:13 -05:00
//~^ ERROR the size for values of type
}
fn main() {}