[AUTO_GENERATED] Migrate compiletest to use ui_test
-style //@
directives
This commit is contained in:
parent
cbf10affb0
commit
6e48b96692
1817 changed files with 4769 additions and 4769 deletions
|
@ -1,5 +1,5 @@
|
|||
// edition:2018
|
||||
// check-pass
|
||||
//@ edition:2018
|
||||
//@ check-pass
|
||||
|
||||
/// Should compile fine
|
||||
pub async fn a() -> u32 {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
// manually desugared version of an `async fn` (but with a closure instead of a coroutine)
|
||||
pub fn a() -> impl Fn() -> u32 {
|
||||
|| content::doesnt::matter()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// check-pass
|
||||
// edition:2018
|
||||
//@ check-pass
|
||||
//@ edition:2018
|
||||
trait ValidTrait {}
|
||||
|
||||
/// This has docs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
trait ValidTrait {}
|
||||
|
||||
/// This has docs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
pub trait ValidTrait {}
|
||||
/// This returns impl trait
|
||||
pub fn g() -> impl ValidTrait {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
pub trait ValidTrait {}
|
||||
/// This returns impl trait
|
||||
pub fn g() -> impl ValidTrait {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// normalize-stderr-test: "`.*`" -> "`DEF_ID`"
|
||||
// normalize-stdout-test: "`.*`" -> "`DEF_ID`"
|
||||
// edition:2018
|
||||
//@ normalize-stderr-test: "`.*`" -> "`DEF_ID`"
|
||||
//@ normalize-stdout-test: "`.*`" -> "`DEF_ID`"
|
||||
//@ edition:2018
|
||||
|
||||
pub async fn f() -> impl std::fmt::Debug {
|
||||
#[derive(Debug)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// edition:2018
|
||||
// check-pass
|
||||
//@ edition:2018
|
||||
//@ check-pass
|
||||
|
||||
mod windows {
|
||||
pub trait WinFoo {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
#![feature(type_alias_impl_trait)]
|
||||
|
||||
pub trait ValidTrait {}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// check-pass
|
||||
//@ check-pass
|
||||
#![feature(type_alias_impl_trait)]
|
||||
|
||||
pub trait ValidTrait {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue