mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 05:03:47 +00:00
f9d00b4a78
Fix help message for modification to &T created by &{t} Previous: ```rust error[E0594]: cannot assign to `*x` which is behind a `&` reference --> src/main.rs:3:5 | 2 | let x: &usize = &mut{0}; | ------- help: consider changing this to be a mutable reference: `&mut mut{0}` 3 | *x = 1; | ^^^^^^ `x` is a `&` reference, so the data it refers to cannot be written ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |