diff options
| author | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 22:27:32 -0400 |
|---|---|---|
| committer | Aaron Kofsky <aaronko@umich.edu> | 2022-06-04 22:27:32 -0400 |
| commit | 6342b58ef0f71ca0284dced4b1d22f9726c1c74a (patch) | |
| tree | de665f93801a79abbf08ac31ffdc2bea59790c1a /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | e6b66784aca8564557485d902968ff7523cf30ca (diff) | |
| download | rust-6342b58ef0f71ca0284dced4b1d22f9726c1c74a.tar.gz rust-6342b58ef0f71ca0284dced4b1d22f9726c1c74a.zip | |
Use diagnostic items instead of hard coded paths for `let_underscore_lock`
Using diagnostic items avoids having to update the paths if the guard types ever get moved around for some reason. Additionally, it also greatly simplifies the `is_sync_lock` check.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
