]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/occurs-check-3.rs:4:24 |
b7449926 | 3 | | |
0731742a | 4 | LL | fn main() { let c; c = Clam::A(c); match c { Clam::A::<isize>(_) => { } } } |
b7449926 XL |
5 | | ^^^^^^^^^^ cyclic type of infinite size |
6 | ||
4b012472 | 7 | error: aborting due to 1 previous error |
b7449926 XL |
8 | |
9 | For more information about this error, try `rustc --explain E0308`. |