]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23302-1.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[rust.git] / src / test / ui / issues / issue-23302-1.rs
1 // Check that an enum with recursion in the discriminant throws
2 // the appropriate error (rather than, say, blowing the stack).
3 enum X {
4     A = X::A as isize, //~ ERROR E0391
5 }
6
7 fn main() { }