|
1 | 1 | error[E0277]: the trait bound `NotIntoDiagnosticArg: IntoDiagnosticArg` is not satisfied
|
2 |
| - --> $DIR/diagnostic-derive-doc-comment-field.rs:29:10 |
| 2 | + --> $DIR/diagnostic-derive-doc-comment-field.rs:37:10 |
3 | 3 | |
|
4 | 4 | LL | #[derive(Diagnostic)]
|
5 |
| - | ^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` |
| 5 | + | ---------- required by a bound introduced by this call |
| 6 | +... |
| 7 | +LL | arg: NotIntoDiagnosticArg, |
| 8 | + | ^^^^^^^^^^^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` |
6 | 9 | |
|
7 |
| - = help: the following other types implement trait `IntoDiagnosticArg`: |
8 |
| - &'a T |
9 |
| - &'a std::path::Path |
10 |
| - &'a str |
11 |
| - &rustc_target::spec::TargetTriple |
12 |
| - Box<(dyn std::error::Error + 'static)> |
13 |
| - CString |
14 |
| - CguReuse |
15 |
| - Cow<'a, str> |
16 |
| - and 42 others |
| 10 | + = help: normalized in stderr |
17 | 11 | note: required by a bound in `DiagnosticBuilder::<'a, G>::set_arg`
|
18 |
| - --> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:747:5 |
19 |
| - = note: this error originates in the derive macro `Diagnostic` which comes from the expansion of the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 12 | + --> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:LL:CC |
| 13 | + = note: this error originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) |
20 | 14 |
|
21 | 15 | error[E0277]: the trait bound `NotIntoDiagnosticArg: IntoDiagnosticArg` is not satisfied
|
22 |
| - --> $DIR/diagnostic-derive-doc-comment-field.rs:39:10 |
| 16 | + --> $DIR/diagnostic-derive-doc-comment-field.rs:47:10 |
23 | 17 | |
|
24 | 18 | LL | #[derive(Subdiagnostic)]
|
25 |
| - | ^^^^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` |
| 19 | + | ------------- required by a bound introduced by this call |
| 20 | +... |
| 21 | +LL | arg: NotIntoDiagnosticArg, |
| 22 | + | ^^^^^^^^^^^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` |
26 | 23 | |
|
27 |
| - = help: the following other types implement trait `IntoDiagnosticArg`: |
28 |
| - &'a T |
29 |
| - &'a std::path::Path |
30 |
| - &'a str |
31 |
| - &rustc_target::spec::TargetTriple |
32 |
| - Box<(dyn std::error::Error + 'static)> |
33 |
| - CString |
34 |
| - CguReuse |
35 |
| - Cow<'a, str> |
36 |
| - and 42 others |
| 24 | + = help: normalized in stderr |
37 | 25 | note: required by a bound in `Diagnostic::set_arg`
|
38 | 26 | --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:964:5
|
39 |
| - = note: this error originates in the derive macro `Subdiagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) |
40 | 27 |
|
41 | 28 | error: aborting due to 2 previous errors
|
42 | 29 |
|
|
0 commit comments