From 31fcda170a0671195b7a1506b09c5f655fc4d7e9 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Mon, 3 Aug 2020 21:13:13 -0400 Subject: Fix async-std at the price of breaking half the test suite - Don't mark impl trait as an error --- src/test/rustdoc-ui/error-in-impl-trait/closure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/rustdoc-ui/error-in-impl-trait/closure.rs') diff --git a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs b/src/test/rustdoc-ui/error-in-impl-trait/closure.rs index df40c121d57..f1fd85bb23c 100644 --- a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs +++ b/src/test/rustdoc-ui/error-in-impl-trait/closure.rs @@ -1,5 +1,5 @@ +// check-pass // manually desugared version of an `async fn` (but with a closure instead of a generator) pub fn a() -> impl Fn() -> u32 { || content::doesnt::matter() - //~^ ERROR failed to resolve } -- cgit 1.4.1-3-g733a5