]> git.lizzy.rs Git - rust.git/blob - tests/ui/map_flatten.fixed
Merge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge
[rust.git] / tests / ui / map_flatten.fixed
1 // run-rustfix
2
3 #![warn(clippy::all, clippy::pedantic)]
4 #![allow(clippy::missing_docs_in_private_items)]
5
6 fn main() {
7     let _: Vec<_> = vec![5_i8; 6].into_iter().flat_map(|x| 0..x).collect();
8 }