diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-06 23:17:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 23:17:51 +0000 |
| commit | 2fb6f5e46a5f53a78c2f750dd3c8e79dd418c4c9 (patch) | |
| tree | f2e6c41600ae0b21903942a25b27c2eb5b3f9b60 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 31b41dade731a8e4062cbe8505d10949bab73d6d (diff) | |
| parent | 3a57f700d883de83a97cd28d803d12ce26647bfa (diff) | |
| download | rust-2fb6f5e46a5f53a78c2f750dd3c8e79dd418c4c9.tar.gz rust-2fb6f5e46a5f53a78c2f750dd3c8e79dd418c4c9.zip | |
Merge #11218
11218: fix: Correct has_ref detection, avoiding duplicate &mut insertion on parameter completion r=Veykril a=weirane The original code fails to detect there's a ref in scenarios such as `&mut s` and `& s` because `WHITESPACE` and `IDENT` got reversed. Closes #11199. Co-authored-by: Wang Ruochen <wrc@ruo-chen.wang>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
