Update to Rust 1.56.1

This commit is contained in:
Michael Vines
2021-11-30 18:18:43 -08:00
parent 0937e407fa
commit e922c2da9d
8 changed files with 21 additions and 22 deletions

View File

@@ -895,7 +895,6 @@ 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.");
}