Skip to content
Permalink
Browse files

address nits

  • Loading branch information...
nikomatsakis committed Jul 1, 2019
1 parent 7f319a7 commit 0c2c2416bfc312f9d119b6ec13773d9e6a49ee90
@@ -4,7 +4,7 @@
// Test for async fn where the parameters have distinct lifetime
// parameters that appear in all possible variances.

#![feature(arbitrary_self_types, async_await, await_macro)]
#![feature(async_await)]

#[allow(dead_code)]
async fn lotsa_lifetimes<'a, 'b, 'c>(_: fn(&'a u8), _: fn(&'b u8) -> &'b u8, _: fn() -> &'c u8) { }
@@ -1,5 +1,5 @@
// edition:2018
// run-pass
// compile-pass
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

@@ -1,5 +1,5 @@
// edition:2018
// run-pass
// compile-pass
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

@@ -1,5 +1,5 @@
// edition:2018
// run-pass
// compile-pass
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

@@ -1,5 +1,5 @@
// edition:2018
// run-pass
// compile-pass
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

@@ -25,7 +25,7 @@ fn upper_bounds<'a, 'b>(a: Ordinary<'a>, b: Ordinary<'b>) -> impl Trait<'a, 'b>
// ```
// 'a: '0
// 'b: '1
// '0 in ['d, 'e]
// '0 in ['a, 'b]
// ```
//
// but we don't have it.

0 comments on commit 0c2c241

Please sign in to comment.
You can’t perform that action at this time.