diff options
| author | bors <bors@rust-lang.org> | 2022-05-31 00:46:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-31 00:46:52 +0000 |
| commit | e1607e9d31d9ade0001fcbc9988e7d1c4f50cf21 (patch) | |
| tree | 91f6ce2bdcf21a4540b6520c5615228013b424c7 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 588e1982d3201814a454d1cac2bbe705ac223a5c (diff) | |
| parent | 722f7d28c3daf2d568a3af77a62c489fb6a1aea2 (diff) | |
| download | rust-e1607e9d31d9ade0001fcbc9988e7d1c4f50cf21.tar.gz rust-e1607e9d31d9ade0001fcbc9988e7d1c4f50cf21.zip | |
Auto merge of #8912 - Alexendoo:needless-late-init-ice, r=giraffate
needless_late_init: fix ICE when all branches return the never type Fixes #8911 When the assignment is done in a match guard or the if condition and all of the branches return the never type `assignment_suggestions` would return an empty `Vec` which caused the ICE. It now returns `None` in that scenario Also moves some tests to the top of the file changelog: ICE Fixes: [`needless_late_init`] #8911
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
