1
Fork 0

[AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-02-22 12:10:29 +00:00
parent cbf10affb0
commit 6e48b96692
No known key found for this signature in database
GPG key ID: 95DDEBD74A1DC2C0
1817 changed files with 4769 additions and 4769 deletions

View file

@ -1,5 +1,5 @@
// edition:2018
// check-pass
//@ edition:2018
//@ check-pass
/// Should compile fine
pub async fn a() -> u32 {

View file

@ -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()

View file

@ -1,5 +1,5 @@
// check-pass
// edition:2018
//@ check-pass
//@ edition:2018
trait ValidTrait {}
/// This has docs

View file

@ -1,4 +1,4 @@
// check-pass
//@ check-pass
trait ValidTrait {}
/// This has docs

View file

@ -1,4 +1,4 @@
// check-pass
//@ check-pass
pub trait ValidTrait {}
/// This returns impl trait
pub fn g() -> impl ValidTrait {

View file

@ -1,4 +1,4 @@
// check-pass
//@ check-pass
pub trait ValidTrait {}
/// This returns impl trait
pub fn g() -> impl ValidTrait {

View file

@ -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)]

View file

@ -1,5 +1,5 @@
// edition:2018
// check-pass
//@ edition:2018
//@ check-pass
mod windows {
pub trait WinFoo {

View file

@ -1,4 +1,4 @@
// check-pass
//@ check-pass
#![feature(type_alias_impl_trait)]
pub trait ValidTrait {}

View file

@ -1,4 +1,4 @@
// check-pass
//@ check-pass
#![feature(type_alias_impl_trait)]
pub trait ValidTrait {}