rust/compiler/rustc_mir
Guillaume Gomez f9d00b4a78
Rollup merge of #87458 - ibraheemdev:help-msg-block-borrow, r=oli-obk
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
```
2021-07-26 16:04:36 +02:00
..
src Rollup merge of #87458 - ibraheemdev:help-msg-block-borrow, r=oli-obk 2021-07-26 16:04:36 +02:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00