1 // revisions: edition2018 edition2021
2 // [edition2018] edition:2018
3 // [edition2021] edition:2021
6 #![warn(clippy::manual_assert)]
7 #![allow(clippy::nonminimal_bool)]
10 let a = vec![1, 2, 3];
22 panic!("qaqaq{:?}", a);
25 panic!("qaqaq{:?}", a);
43 let b = vec![1, 2, 3];
47 if b.is_empty() && a.is_empty() {
50 if a.is_empty() && !b.is_empty() {
53 if b.is_empty() || a.is_empty() {
56 if a.is_empty() || !b.is_empty() {