]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issues/issue-65159.rs
Rollup merge of #107061 - compiler-errors:new-solver-new-candidates-3, r=lcnr
[rust.git] / tests / 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 generic arguments
7 {
8     Ok(())
9 }
10
11 fn main() { }