Commit c5f15bd
committed
fix the check for which expressions read never type
...wrt `type_ascribe`/unsafe binders -- the check was infinitely
recursive before.1 parent 784b283 commit c5f15bd
File tree
2 files changed
+2
-2
lines changed- compiler/rustc_middle/src/hir
- tests/ui/unreachable-code
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments