]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/promotable-mutable-zst-doesnt-conflict.rs
fix merge conflicts
[rust.git] / src / test / ui / nll / promotable-mutable-zst-doesnt-conflict.rs
1 // Check that mutable promoted length zero arrays don't check for conflicting
2 // access
3
4 // run-pass
5
6 pub fn main() {
7     let mut x: Vec<&[i32; 0]> = Vec::new();
8     for i in 0..10 {
9         x.push(&[]);
10     }
11 }