rust/crates/syntax/test_data/parser/ok/0043_complex_assignment.rs
2020-08-12 18:30:53 +02:00

9 lines
160 B
Rust

// 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]}();
}