about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-25 15:14:14 +0200
committerGitHub <noreply@github.com>2022-06-25 15:14:14 +0200
commit1f923c2a415288c4122800e0862e2c478a2ad9c9 (patch)
tree3915fc63ef97a2b39de400aeca5e6f7a4e6ac442 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentea07b969eacb4d932afba25ad64050719c7fe73a (diff)
parent1dfb53b7dad1d5f68466a68b068b8030d216ce3f (diff)
downloadrust-1f923c2a415288c4122800e0862e2c478a2ad9c9.tar.gz
rust-1f923c2a415288c4122800e0862e2c478a2ad9c9.zip
Rollup merge of #98431 - WaffleLapkin:mut_pat_suggestions, r=compiler-errors
Suggest defining variable as mutable on `&mut _` type mismatch in pats

Suggest writing `mut a` where `&mut a` was written but a non-ref type provided.

Since we still don't have "apply either one of the suggestions but not both" kind of thing, the interaction with the suggestion of removing `&[mut]` or moving it to the type is weird, and idk how to make it better..

r? ``@compiler-errors``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions