Skip to content

Commit

Permalink
Add main functions and check-pass annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 27, 2019
1 parent 258498a commit c1f22c0
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/self/arbitrary_self_types_pin_lifetime.rs
@@ -1,4 +1,4 @@
// compile-pass
// check-pass

use std::pin::Pin;
use std::task::{Context, Poll};
Expand Down
4 changes: 4 additions & 0 deletions src/test/ui/self/elision/alias.rs
@@ -1,3 +1,5 @@
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]

Expand Down Expand Up @@ -30,3 +32,5 @@ impl Struct {
f
}
}

fn main() { }
7 changes: 0 additions & 7 deletions src/test/ui/self/elision/alias.stderr

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/ui/self/elision/lt-alias.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/self/elision/lt-self.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/self/elision/lt-struct.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/self/elision/ref-alias.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
4 changes: 4 additions & 0 deletions src/test/ui/self/elision/ref-mut-alias.rs
@@ -1,3 +1,5 @@
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]

Expand Down Expand Up @@ -30,3 +32,5 @@ impl Struct {
f
}
}

fn main() { }
7 changes: 0 additions & 7 deletions src/test/ui/self/elision/ref-mut-alias.stderr

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/ui/self/elision/self.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/self/elision/struct.rs
@@ -1,4 +1,4 @@
// run-pass
// check-pass

#![feature(arbitrary_self_types)]
#![allow(non_snake_case)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/self/self_lifetime.rs
@@ -1,4 +1,4 @@
// compile-pass
// check-pass

struct Foo<'a>(&'a ());
impl<'a> Foo<'a> {
Expand Down

0 comments on commit c1f22c0

Please sign in to comment.