aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0043_complex_assignment.rs
blob: 7e4a28bf74c758e218a199c105fb0037ff038f7c (plain)
1
2
3
4
5
6
7
8
// https://github.com/rust-analyzer/rust-analyzer/issues/674

struct Repr { raw: [u8; 1] }

fn abc() {
    Repr { raw: [0] }.raw[0] = 0;
    Repr{raw:[0]}();
}