mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
b1de6323ab
Protoc_rust emits this into every file it generates: #![cfg_attr(feature = "cargo-clippy", allow(clippy))] which is the old style of tool attribute. It is deprecated in favor of actual tool attributes that stabilized in rust 1.31. #![allow(clippy::all)] Without this PR, the warning when running bin/clippy looks like: warning: lint name `clippy` is deprecated and may not have an effect in the future. --> /chromiumos/src/platform/crosvm/target/debug/build/protos/out/trunks/interface.rs:6:10 | 6 | #![cfg_attr(feature = "cargo-clippy", allow(clippy))] | ^^^^^^ | = note: #[warn(renamed_and_removed_lints)] on by default TEST=bin/clippy Change-Id: I1a484379a8f53d76d3667590cd8458588492d2b1 Reviewed-on: https://chromium-review.googlesource.com/1567849 Commit-Ready: David Tolnay <dtolnay@chromium.org> Tested-by: David Tolnay <dtolnay@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |