Commit 1794b24
authored
Rollup merge of rust-lang#92840 - hafeoz:master, r=ehuss
Fix some lints documentation
Several lints documentation failed to show the output of the example (mostly due to `ignore` attribute):
- [irrefutable_let_patterns](https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#irrefutable-let-patterns)
- [asm_sub_register](https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#asm-sub-register)
- [bad_asm_style](https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#bad-asm-style)
- [ineffective_unstable_trait_impl](https://doc.rust-lang.org/rustc/lints/listing/deny-by-default.html#ineffective-unstable-trait-impl)
- duplicate_macro_attributes
This pull request fixes these lints output so that they can be displayed properly.1 file changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
1808 | | - | |
| 1808 | + | |
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
| |||
2431 | 2431 | | |
2432 | 2432 | | |
2433 | 2433 | | |
2434 | | - | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
2435 | 2447 | | |
2436 | 2448 | | |
2437 | 2449 | | |
| |||
2470 | 2482 | | |
2471 | 2483 | | |
2472 | 2484 | | |
2473 | | - | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
2474 | 2496 | | |
2475 | 2497 | | |
2476 | 2498 | | |
| |||
2788 | 2810 | | |
2789 | 2811 | | |
2790 | 2812 | | |
2791 | | - | |
| 2813 | + | |
2792 | 2814 | | |
2793 | 2815 | | |
2794 | 2816 | | |
| |||
3618 | 3640 | | |
3619 | 3641 | | |
3620 | 3642 | | |
3621 | | - | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
3622 | 3654 | | |
3623 | 3655 | | |
3624 | 3656 | | |
| |||
0 commit comments