Skip to content

Commit e364eb4

Browse files
committed
add '// ignore-pass' where applicable.
1 parent 54337fa commit e364eb4

File tree

7 files changed

+20
-0
lines changed

7 files changed

+20
-0
lines changed

src/test/ui/emit-artifact-notifications.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
35

46
// A very basic test for the emission of artifact notifications in JSON output.
57

src/test/ui/print_type_sizes/generics.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
// This file illustrates how generics are handled: types have to be
58
// monomorphized, in the MIR of the original function in which they

src/test/ui/print_type_sizes/niche-filling.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
// This file illustrates how niche-filling enums are handled,
58
// modelled after cases like `Option<&u32>`, `Option<bool>` and such.

src/test/ui/print_type_sizes/no_duplicates.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
// This file illustrates that when the same type occurs repeatedly
58
// (even if multiple functions), it is only printed once in the

src/test/ui/print_type_sizes/packed.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
// This file illustrates how packing is handled; it should cause
58
// the elimination of padding that would normally be introduced

src/test/ui/print_type_sizes/repr-align.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
// This file illustrates how padding is handled: alignment
58
// requirements can lead to the introduction of padding, either before

src/test/ui/print_type_sizes/uninhabited.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// compile-flags: -Z print-type-sizes
22
// compile-pass
3+
// ignore-pass
4+
// ^-- needed because `--pass check` does not emit the output needed.
5+
// FIXME: consider using an attribute instead of side-effects.
36

47
#![feature(never_type)]
58
#![feature(start)]

0 commit comments

Comments
 (0)