Commit 84c1b90
committed
Invert free region map edges in root assumptions
`FreeRegionMap::relation` stores `'sub <= 'sup` edges while
`Assumptions::region_outlives` expects `'longer: 'shorter` ones. The
mismatch is not yet observable as nothing reads the region relation at
the root, but `Assumptions::new` merges edges derived from type
outlives clauses into the same relation, which would otherwise leave it
with mixed edge directions.1 parent f4a1919 commit 84c1b90
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
243 | 250 | | |
244 | | - | |
| 251 | + | |
245 | 252 | | |
246 | 253 | | |
247 | 254 | | |
| |||
0 commit comments