]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-65159.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / ui / async-await / issues / issue-65159.rs
1 // Regression test for #65159. We used to ICE.
2 //
3 // edition:2018
4
5 async fn copy() -> Result<()>
6 //~^ ERROR this enum takes 2 type arguments but only 1 type argument was supplied
7 {
8     Ok(())
9     //~^ ERROR type annotations needed
10 }
11
12 fn main() { }