Upstream tracing-actix-web
into actix-extras
#756
Annotations
1 error and 1 warning
Check with Clippy:
tracing-actix-web/src/otel.rs#L115
[clippy] reported by reviewdog 🐶
error: the borrowed expression implements the required traits
--> tracing-actix-web/src/otel.rs:115:29
|
115 | span.record("trace_id", &tracing::field::display(trace_id));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `tracing::field::display(trace_id)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
Raw Output:
tracing-actix-web/src/otel.rs:115:29:e:error: the borrowed expression implements the required traits
--> tracing-actix-web/src/otel.rs:115:29
|
115 | span.record("trace_id", &tracing::field::display(trace_id));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `tracing::field::display(trace_id)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
__END__
|
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading