]> git.lizzy.rs Git - rust.git/blob - tests/ui/occurs-check.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / 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 }