fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `NotIntoDiagnosticArg: IntoDiagnosticArg` is not satisfied 2 --> $DIR/diagnostic-derive-doc-comment-field.rs:37:10 3 | 4LL | #[derive(Diagnostic)] 5 | ---------- required by a bound introduced by this call 6... 7LL | arg: NotIntoDiagnosticArg, 8 | ^^^^^^^^^^^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` 9 | 10 = help: normalized in stderr 11note: required by a bound in `DiagnosticBuilder::<'a, G>::set_arg` 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) 14 15error[E0277]: the trait bound `NotIntoDiagnosticArg: IntoDiagnosticArg` is not satisfied 16 --> $DIR/diagnostic-derive-doc-comment-field.rs:47:10 17 | 18LL | #[derive(Subdiagnostic)] 19 | ------------- required by a bound introduced by this call 20... 21LL | arg: NotIntoDiagnosticArg, 22 | ^^^^^^^^^^^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `NotIntoDiagnosticArg` 23 | 24 = help: normalized in stderr 25note: required by a bound in `Diagnostic::set_arg` 26 --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC 27 28error: aborting due to 2 previous errors 29 30For more information about this error, try `rustc --explain E0277`.