]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui-fulldeps/session-diagnostic/diagnostic-derive.stderr
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui-fulldeps / session-diagnostic / diagnostic-derive.stderr
index b4c211db47cd9e090bdc8e6f5fc3e8be399628d9..467b3ce7c77fda8d199745e4e9e0e48406e93139 100644 (file)
@@ -661,8 +661,7 @@ LL | #[derive(Diagnostic)]
 note: required by a bound in `DiagnosticBuilder::<'a, G>::set_arg`
   --> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:LL:CC
    |
-LL |         arg: impl IntoDiagnosticArg,
-   |                   ^^^^^^^^^^^^^^^^^ required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`
+   = note: required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`
    = note: this error originates in the derive macro `Diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 83 previous errors