Skip to content

Commit

Permalink
adjust test to be check-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Aug 19, 2019
1 parent 832199e commit 7ee1af5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 4 additions & 2 deletions src/test/ui/async-await/issues/issue-62517-2.rs
Expand Up @@ -3,14 +3,16 @@
// explicit lifetime bound.
//
// edition:2018
// check-pass

#![feature(async_await)]

trait Object {}

trait Alpha<Param> {}
trait Alpha<Param: ?Sized> {}

async fn foo<'a>(_: &'a ()) -> impl Alpha<dyn Object> {}
//~^ ERROR not satisfied

impl<T> Alpha<dyn Object> for T { }

fn main() { }
11 changes: 0 additions & 11 deletions src/test/ui/async-await/issues/issue-62517-2.stderr

This file was deleted.

0 comments on commit 7ee1af5

Please sign in to comment.