7 lines
113 B
Rust
7 lines
113 B
Rust
// xfail-stage0
|
|
// error-pattern: writing to immutable type
|
|
fn main() {
|
|
let tup(int) t = tup(1);
|
|
t._0 = 5;
|
|
}
|