]> git.lizzy.rs Git - rust.git/blob - tests/ui/map_flatten.rs
Auto merge of #4314 - chansuke:add-negation-to-is_empty, r=flip1995
[rust.git] / tests / ui / map_flatten.rs
1 #![warn(clippy::all, clippy::pedantic)]
2 #![allow(clippy::missing_docs_in_private_items)]
3
4 fn main() {
5     let _: Vec<_> = vec![5_i8; 6].into_iter().map(|x| 0..x).flatten().collect();
6 }