add '// ignore-pass' where applicable.

This commit is contained in:
Mazdak Farrokhzad 2019-06-12 22:55:38 +02:00
parent 54337fab39
commit e364eb40d5
7 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,7 @@
// compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications // compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// A very basic test for the emission of artifact notifications in JSON output. // A very basic test for the emission of artifact notifications in JSON output.

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
// This file illustrates how generics are handled: types have to be // This file illustrates how generics are handled: types have to be
// monomorphized, in the MIR of the original function in which they // monomorphized, in the MIR of the original function in which they

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
// This file illustrates how niche-filling enums are handled, // This file illustrates how niche-filling enums are handled,
// modelled after cases like `Option<&u32>`, `Option<bool>` and such. // modelled after cases like `Option<&u32>`, `Option<bool>` and such.

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
// This file illustrates that when the same type occurs repeatedly // This file illustrates that when the same type occurs repeatedly
// (even if multiple functions), it is only printed once in the // (even if multiple functions), it is only printed once in the

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
// This file illustrates how packing is handled; it should cause // This file illustrates how packing is handled; it should cause
// the elimination of padding that would normally be introduced // the elimination of padding that would normally be introduced

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
// This file illustrates how padding is handled: alignment // This file illustrates how padding is handled: alignment
// requirements can lead to the introduction of padding, either before // requirements can lead to the introduction of padding, either before

View File

@ -1,5 +1,8 @@
// compile-flags: -Z print-type-sizes // compile-flags: -Z print-type-sizes
// compile-pass // compile-pass
// ignore-pass
// ^-- needed because `--pass check` does not emit the output needed.
// FIXME: consider using an attribute instead of side-effects.
#![feature(never_type)] #![feature(never_type)]
#![feature(start)] #![feature(start)]