Commit b4a8689
committed
rust: alloc: disable several
They are infallible, and could not be actually used because
they will trigger an error when monomorphized, but it is better
to just remove them.
Suggested-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>new()s, pin()s, default()s, etc.1 parent 38a10b4 commit b4a8689
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| |||
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
| |||
383 | 385 | | |
384 | 386 | | |
385 | 387 | | |
| 388 | + | |
386 | 389 | | |
387 | 390 | | |
388 | 391 | | |
| |||
579 | 582 | | |
580 | 583 | | |
581 | 584 | | |
| 585 | + | |
582 | 586 | | |
583 | 587 | | |
584 | 588 | | |
| |||
1475 | 1479 | | |
1476 | 1480 | | |
1477 | 1481 | | |
| 1482 | + | |
1478 | 1483 | | |
1479 | 1484 | | |
1480 | 1485 | | |
| |||
1733 | 1738 | | |
1734 | 1739 | | |
1735 | 1740 | | |
| 1741 | + | |
1736 | 1742 | | |
1737 | 1743 | | |
1738 | 1744 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| 338 | + | |
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
| |||
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| 372 | + | |
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| |||
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
| 493 | + | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
| |||
2276 | 2280 | | |
2277 | 2281 | | |
2278 | 2282 | | |
| 2283 | + | |
2279 | 2284 | | |
2280 | 2285 | | |
2281 | 2286 | | |
| |||
2300 | 2305 | | |
2301 | 2306 | | |
2302 | 2307 | | |
| 2308 | + | |
2303 | 2309 | | |
2304 | 2310 | | |
2305 | 2311 | | |
| |||
0 commit comments