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,15 +1,15 @@
// compile-flags: -Ztreat-err-as-bug
// rustc-env:RUSTC_ICE=0
// failure-status: 101
// error-pattern: aborting due to
// error-pattern: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
//@ compile-flags: -Ztreat-err-as-bug
//@ rustc-env:RUSTC_ICE=0
//@ failure-status: 101
//@ error-pattern: aborting due to
//@ error-pattern: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
// normalize-stderr-test "note: compiler flags.*\n\n" -> ""
// normalize-stderr-test "note: rustc.*running on.*" -> "note: rustc {version} running on {platform}"
// normalize-stderr-test "thread.*panicked at compiler.*" -> ""
// normalize-stderr-test " +\d{1,}: .*\n" -> ""
// normalize-stderr-test " + at .*\n" -> ""
// normalize-stderr-test ".*note: Some details are omitted.*\n" -> ""
//@ normalize-stderr-test "note: compiler flags.*\n\n" -> ""
//@ normalize-stderr-test "note: rustc.*running on.*" -> "note: rustc {version} running on {platform}"
//@ normalize-stderr-test "thread.*panicked at compiler.*" -> ""
//@ normalize-stderr-test " +\d{1,}: .*\n" -> ""
//@ normalize-stderr-test " + at .*\n" -> ""
//@ normalize-stderr-test ".*note: Some details are omitted.*\n" -> ""
fn wrong()
//~^ ERROR expected one of