rust/tests/ui/enum/issue-1821.rs
2024-02-16 20:02:50 +00:00

14 lines
205 B
Rust

//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]
// Issue #1821 - Don't recurse trying to typecheck this
//@ pretty-expanded FIXME #23616
enum t {
foo(Vec<t>)
}
pub fn main() {}