This repository was archived by the owner on May 28, 2025. It is now read-only.
forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit d7d260a
authored
Unrolled build for rust-lang#131112
Rollup merge of rust-lang#131112 - jswrenn:fix-130413, r=compiler-errors
TransmuteFrom: Gracefully handle unnormalized types and normalization errors
~~Refactor to share code between `TransmuteFrom`'s trait selection and error reporting code paths. Additionally normalizes the source and destination types, and gracefully handles normalization errors.~~
Fixes rust-lang#130413
r? `@compiler-errors`File tree
8 files changed
+70
-56
lines changed- compiler
- rustc_trait_selection/src/error_reporting/traits
- rustc_transmute/src/layout
- tests
- crashes
- ui/transmutability
8 files changed
+70
-56
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 | + | ||
249 | + | ||
250 | + | ||
248 | 251 |
| |
249 | 252 |
| |
250 | 253 |
| |
| |||
2226 | 2229 |
| |
2227 | 2230 |
| |
2228 | 2231 |
| |
2232 | + | ||
2233 | + | ||
2234 | + | ||
2235 | + | ||
2236 | + | ||
2237 | + | ||
2229 | 2238 |
| |
2230 | 2239 |
| |
2231 | 2240 |
| |
| |||
2248 | 2257 |
| |
2249 | 2258 |
| |
2250 | 2259 |
| |
2260 | + | ||
2251 | 2261 |
| |
2252 | 2262 |
| |
2253 | 2263 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | + | ||
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
198 | - | ||
198 | + | ||
199 | + | ||
200 | + | ||
199 | 201 |
| |
200 | 202 |
| |
201 | - | ||
202 | 203 |
| |
203 | 204 |
| |
204 | 205 |
| |
|
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + |
0 commit comments