about summary refs log tree commit diff
path: root/clippy_lints/src/mutable_debug_assertion.rs
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2019-12-02 11:50:46 +0100
committerPhilipp Hansch <dev@phansch.net>2019-12-02 12:09:38 +0100
commit474e9a131dd036fecb0503d00796c13e5efdf7f3 (patch)
treebb98cf0410f522cde15bd558f19231afd5609bd8 /clippy_lints/src/mutable_debug_assertion.rs
parent6669c2c6cea0c68b074cca972131a8f3fd9083a6 (diff)
downloadrust-474e9a131dd036fecb0503d00796c13e5efdf7f3.tar.gz
rust-474e9a131dd036fecb0503d00796c13e5efdf7f3.zip
Use assert_crate_local for a more explicit error
`assert_crate_local` does the same as the previous `if let` but with a
more explicit error message if it's not a `ClearCrossCrate::Set`.
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
0 files changed, 0 insertions, 0 deletions