Fix async-std at the price of breaking half the test suite

- Don't mark impl trait as an error
This commit is contained in:
Joshua Nelson 2020-08-03 21:13:13 -04:00
parent f042d749b0
commit 31fcda170a
17 changed files with 29 additions and 119 deletions

View file

@ -1,3 +1,4 @@
// check-pass
#![feature(type_alias_impl_trait)]
pub trait ValidTrait {}
@ -6,5 +7,4 @@ type ImplTrait = impl ValidTrait;
/// This returns impl trait, but using a type alias
pub fn h() -> ImplTrait {
error::_in::impl_trait::alias()
//~^ ERROR failed to resolve
}