diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-08-21 20:14:56 +0000 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-08-26 16:58:25 +0000 |
| commit | c60a370dac4821d0a1a4d55943e28c2da2220dc7 (patch) | |
| tree | 731fc787691e47ed5ceb20c889afc17a33240bca /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | |
| parent | d933edd5c6ee149d53bff4558c3fef8dc68b8766 (diff) | |
| download | rust-c60a370dac4821d0a1a4d55943e28c2da2220dc7.tar.gz rust-c60a370dac4821d0a1a4d55943e28c2da2220dc7.zip | |
Fix the bugs and add a regression test
- All attributes for an item need to be considered at once, they can't be considered a line at a time. - The top-level crate was not being visited. This bug was caught by `extern-crate-used-only-in-link`, which I'm very glad I added. - Make the loader private to the module, so that only one function is exposed.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions
