]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/generic-ivec-leak.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / generics / generic-ivec-leak.rs
1 // run-pass
2 #![allow(non_camel_case_types)]
3 enum wrapper<T> { wrapped(#[allow(unused_tuple_struct_fields)] T), }
4
5 pub fn main() { let _w = wrapper::wrapped(vec![1, 2, 3, 4, 5]); }