Add Diagnosis API #37
Annotations
2 errors
[clippy] src/output/step.rs#L601:
src/output/step.rs#L601
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/output/step.rs:601:19
|
601 | .emit(&&spec::TestStepArtifactImpl::Diagnosis(
| ___________________^
602 | | diagnosis.to_artifact(),
603 | | ))
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/output/mod.rs:6:9
|
6 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
help: change this to
|
601 ~ .emit((&spec::TestStepArtifactImpl::Diagnosis(
602 + diagnosis.to_artifact(),
603 ~ )))
|
|
[clippy] src/output/step.rs#L601:
src/output/step.rs#L601
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/output/step.rs:601:19
|
601 | .emit(&&spec::TestStepArtifactImpl::Diagnosis(
| ___________________^
602 | | diagnosis.to_artifact(),
603 | | ))
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/output/mod.rs:6:9
|
6 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
help: change this to
|
601 ~ .emit((&spec::TestStepArtifactImpl::Diagnosis(
602 + diagnosis.to_artifact(),
603 ~ )))
|
|