Commit 0eb1d11
committed
Allow multiple
The internal diagnostic lint currently only allows one, because that was
all that occurred in practice. But rust-lang/rust-clippy/pull/12453
wants to introduce functions with more than one, and this limitation is
getting in the way.impl Into<{D,Subd}iagMessage> parameters in a function.1 parent af69f4c commit 0eb1d11
File tree
2 files changed
+13
-14
lines changed- compiler/rustc_lint/src
- tests/ui-fulldeps/internal-lints
2 files changed
+13
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
| 413 | + | |
| 414 | + | |
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
| |||
426 | 425 | | |
427 | 426 | | |
428 | 427 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
| 428 | + | |
436 | 429 | | |
437 | 430 | | |
438 | 431 | | |
439 | 432 | | |
440 | 433 | | |
441 | 434 | | |
442 | | - | |
| 435 | + | |
443 | 436 | | |
444 | 437 | | |
445 | 438 | | |
| |||
485 | 478 | | |
486 | 479 | | |
487 | 480 | | |
488 | | - | |
| 481 | + | |
489 | 482 | | |
490 | 483 | | |
491 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
0 commit comments