diff options
| author | Philipp Hansch <dev@phansch.net> | 2019-12-02 11:50:46 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2019-12-02 12:09:38 +0100 |
| commit | 474e9a131dd036fecb0503d00796c13e5efdf7f3 (patch) | |
| tree | bb98cf0410f522cde15bd558f19231afd5609bd8 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | 6669c2c6cea0c68b074cca972131a8f3fd9083a6 (diff) | |
| download | rust-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
