Rollup merge of #62317 - JohnTitor:move-tests-to-build-pass, r=Centril

Migrate `compile-pass` annotations to `build-pass`

This is a part of #62277.

As a first step, the `compile-pass` tests are migrated to `build-pass`.

r? @cramertj
cc @Centril
This commit is contained in:
Mazdak Farrokhzad 2019-07-04 01:38:58 +02:00 committed by GitHub
commit 919349701a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
711 changed files with 716 additions and 716 deletions

View file

@ -1,4 +1,4 @@
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
#![allow(bare_trait_objects)]

View file

@ -1,4 +1,4 @@
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
// compile-flags: -Z parse-only
impl <*const u8>::AssocTy {} // OK

View file

@ -1,4 +1,4 @@
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
#![feature(box_syntax)]
#![allow(bare_trait_objects)]

View file

@ -1,6 +1,6 @@
// Fixes issue where `+` in generics weren't parsed if they were part of a `+=`.
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
struct Whitespace<T: Clone + = ()> { t: T }
struct TokenSplit<T: Clone += ()> { t: T }

View file

@ -1,4 +1,4 @@
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
fn main() {
let _ = "Foo"_;