rust/tests/ui/enum/issue-1821.rs
2023-05-08 17:58:01 -03:00

14 lines
203 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() {}