mirror of https://github.com/rust-lang/rust.git
add '// ignore-pass' where applicable.
This commit is contained in:
parent
54337fab39
commit
e364eb40d5
|
@ -1,5 +1,7 @@
|
|||
// compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications
|
||||
// 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.
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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
|
||||
// monomorphized, in the MIR of the original function in which they
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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,
|
||||
// modelled after cases like `Option<&u32>`, `Option<bool>` and such.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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
|
||||
// (even if multiple functions), it is only printed once in the
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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
|
||||
// the elimination of padding that would normally be introduced
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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
|
||||
// requirements can lead to the introduction of padding, either before
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
// compile-flags: -Z print-type-sizes
|
||||
// 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(start)]
|
||||
|
|
Loading…
Reference in New Issue