1 // revisions: edition2018 edition2021
2 // [edition2018] edition:2018
3 // [edition2021] edition:2021
6 #![warn(clippy::manual_assert)]
7 #![allow(clippy::nonminimal_bool)]
16 let a = vec![1, 2, 3];
28 panic!("qaqaq{:?}", a);
31 panic!("qaqaq{:?}", a);
49 let b = vec![1, 2, 3];
53 if b.is_empty() && a.is_empty() {
56 if a.is_empty() && !b.is_empty() {
59 if b.is_empty() || a.is_empty() {
62 if a.is_empty() || !b.is_empty() {
66 panic!("with expansion {}", one!())