]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/call-boxed.rs
Auto merge of #103569 - RalfJung:miri-test-macos, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / call-boxed.rs
1 fn main() {
2     let mut x = 1i32;
3     let y = Box::new(|| 1);
4     x = y;
5     //~^ ERROR mismatched types
6     //~| HELP use parentheses to call this closure
7 }