mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
8 lines
168 B
Rust
8 lines
168 B
Rust
//@ run-pass
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
|
enum clam<T> { a(#[allow(dead_code)] T), }
|
|
|
|
pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }
|