mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
6 lines
164 B
Rust
6 lines
164 B
Rust
//@ run-pass
|
|
#![allow(non_camel_case_types)]
|
|
enum wrapper<T> { wrapped(#[allow(dead_code)] T), }
|
|
|
|
pub fn main() { let _w = wrapper::wrapped(vec![1, 2, 3, 4, 5]); }
|