diff options
| author | Aaron Kofsky <aaronko@umich.edu> | 2022-06-03 21:33:13 -0400 |
|---|---|---|
| committer | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 15:35:13 -0400 |
| commit | eba6c789dcfca7065d1c292c06eb447ac9895db3 (patch) | |
| tree | ab1c5c0ef860cad7606256e9b1fc97de9252011c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | ae2ac3b4c568d2d20cb395a57a163e1e298d6d6c (diff) | |
| download | rust-eba6c789dcfca7065d1c292c06eb447ac9895db3.tar.gz rust-eba6c789dcfca7065d1c292c06eb447ac9895db3.zip | |
Show code suggestions in `let_undescore` lint messages.
This commit uses `span_suggestion_verbose` to add what specific code changes can be done as suggested by the lint--in this case, either binding the expression to an unused variable or using `std::mem::drop` to drop the value explicitly.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
