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