diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-25 15:14:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 15:14:14 +0200 |
| commit | 1f923c2a415288c4122800e0862e2c478a2ad9c9 (patch) | |
| tree | 3915fc63ef97a2b39de400aeca5e6f7a4e6ac442 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | ea07b969eacb4d932afba25ad64050719c7fe73a (diff) | |
| parent | 1dfb53b7dad1d5f68466a68b068b8030d216ce3f (diff) | |
| download | rust-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
