File tree Expand file tree Collapse file tree 7 files changed +20
-0
lines changed Expand file tree Collapse file tree 7 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1
1
// compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications
2
2
// compile-pass
3
+ // ignore-pass
4
+ // ^-- needed because `--pass check` does not emit the output needed.
3
5
4
6
// A very basic test for the emission of artifact notifications in JSON output.
5
7
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
// This file illustrates how generics are handled: types have to be
5
8
// monomorphized, in the MIR of the original function in which they
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
// This file illustrates how niche-filling enums are handled,
5
8
// modelled after cases like `Option<&u32>`, `Option<bool>` and such.
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
// This file illustrates that when the same type occurs repeatedly
5
8
// (even if multiple functions), it is only printed once in the
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
// This file illustrates how packing is handled; it should cause
5
8
// the elimination of padding that would normally be introduced
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
// This file illustrates how padding is handled: alignment
5
8
// requirements can lead to the introduction of padding, either before
Original file line number Diff line number Diff line change 1
1
// compile-flags: -Z print-type-sizes
2
2
// 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.
3
6
4
7
#![ feature( never_type) ]
5
8
#![ feature( start) ]
You can’t perform that action at this time.
0 commit comments