]> git.lizzy.rs Git - rust.git/blob - src/test/ui/occurs-check-2.rs
Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup
[rust.git] / src / test / ui / occurs-check-2.rs
1 fn main() {
2
3     let f;
4     let g;
5
6     g = f;
7     f = Box::new(g);
8     //~^  ERROR mismatched types
9     //~| cyclic type of infinite size
10 }