Upgrade to Rust 1.55.0

This commit is contained in:
Michael Vines
2021-10-05 18:31:15 -07:00
parent 00929f8363
commit 3b70cdb8d8
5 changed files with 15 additions and 39 deletions

View File

@ -895,6 +895,7 @@ pub mod tests {
// assert_eq! thinks *executable_bool is equal to false but the if condition thinks it's not, contradictorily.
assert!(!*executable_bool);
const FALSE: bool = false; // keep clippy happy
#[allow(clippy::if_then_panic)]
if *executable_bool == FALSE {
panic!("This didn't occur if this test passed.");
}