Commit b93c9a7
authored
Rollup merge of rust-lang#102128 - oli-obk:const_unification, r=lcnr
Const unification is already infallible, remove the error handling logic
r? `@lcnr`
is this expected to be used in the future? Right now it is dead code.File tree
2 files changed
+12
-27
lines changed- compiler
- rustc_infer/src/infer
- rustc_middle/src/infer
2 files changed
+12
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
246 | 242 | | |
247 | 243 | | |
248 | 244 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
260 | 251 | | |
261 | | - | |
262 | | - | |
263 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
264 | 256 | | |
265 | 257 | | |
266 | 258 | | |
| |||
768 | 760 | | |
769 | 761 | | |
770 | 762 | | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | 763 | | |
779 | 764 | | |
780 | 765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments