|
| 1 | +error: there is no parameter `unknown` on trait `MultiLine` |
| 2 | + --> $DIR/multiline_spans.rs:6:17 |
| 3 | + | |
| 4 | +LL | ... multiline string \ |
| 5 | + | ^^^^^^^ |
| 6 | + | |
| 7 | + = help: expect either a generic argument name or `{Self}` as format argument |
| 8 | +note: the lint level is defined here |
| 9 | + --> $DIR/multiline_spans.rs:2:9 |
| 10 | + | |
| 11 | +LL | #![deny(unknown_or_malformed_diagnostic_attributes)] |
| 12 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 13 | + |
| 14 | +error: there is no parameter `unknown` on trait `MultiLine2` |
| 15 | + --> $DIR/multiline_spans.rs:12:17 |
| 16 | + | |
| 17 | +LL | ... multiline string {unknown}")] |
| 18 | + | ^^^^^^^ |
| 19 | + | |
| 20 | + = help: expect either a generic argument name or `{Self}` as format argument |
| 21 | + |
| 22 | +error: there is no parameter `unknown` on trait `MultiLine3` |
| 23 | + --> $DIR/multiline_spans.rs:17:17 |
| 24 | + | |
| 25 | +LL | multiline string {unknown}")] |
| 26 | + | ^^^^^^^ |
| 27 | + | |
| 28 | + = help: expect either a generic argument name or `{Self}` as format argument |
| 29 | + |
| 30 | +error: there is no parameter `unknown` on trait `MultiLine4` |
| 31 | + --> $DIR/multiline_spans.rs:24:15 |
| 32 | + | |
| 33 | +LL | / \ |
| 34 | +LL | | \ |
| 35 | + | |___^ |
| 36 | + | |
| 37 | + = help: expect either a generic argument name or `{Self}` as format argument |
| 38 | + |
| 39 | +error: invalid format specifier |
| 40 | + --> $DIR/multiline_spans.rs:31:42 |
| 41 | + | |
| 42 | +LL | #[diagnostic::on_unimplemented(message = "here is a big \ |
| 43 | + | __________________________________________^ |
| 44 | +LL | | multiline string \ |
| 45 | +LL | | {Self:+}")] |
| 46 | + | |__________________________________________________^ |
| 47 | + | |
| 48 | + = help: no format specifier are supported in this position |
| 49 | + |
| 50 | +error: invalid format specifier |
| 51 | + --> $DIR/multiline_spans.rs:41:42 |
| 52 | + | |
| 53 | +LL | #[diagnostic::on_unimplemented(message = "here is a big \ |
| 54 | + | __________________________________________^ |
| 55 | +LL | | multiline string {Self:#}")] |
| 56 | + | |______________________________^ |
| 57 | + | |
| 58 | + = help: no format specifier are supported in this position |
| 59 | + |
| 60 | +error: aborting due to 6 previous errors |
| 61 | + |
0 commit comments