about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-18 08:41:13 +0200
committerGitHub <noreply@github.com>2022-05-18 08:41:13 +0200
commit64c58a1a4ab6ba68db6d87a6a1f813679875110e (patch)
tree0940461f48fd451cba2dfdd751c01a9437dbbd4f /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent77972d2d0134fb597249b3b64dcf9510a790c34e (diff)
parentd50d3fccdd3038b2621245e9591ea6e20eebde2a (diff)
downloadrust-64c58a1a4ab6ba68db6d87a6a1f813679875110e.tar.gz
rust-64c58a1a4ab6ba68db6d87a6a1f813679875110e.zip
Rollup merge of #94639 - compiler-errors:rval-mutref, r=wesleywiser
Suggest dereferencing non-lval mutable reference on assignment

1. Adds deref suggestions for LHS of assignment (or assign-binop) when it implements `DerefMut`
2. Fixes missing deref suggestions for LHS when it isn't a place expr

Fixes #46276
Fixes #93980
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions