Skip to content

Commit 333c1bc

Browse files
committed
Fix some minor issues from the ui-test auto-porting
1 parent 78a7751 commit 333c1bc

14 files changed

+13
-25
lines changed

tests/codegen-units/partitioning/extern-drop-glue.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
31
// We specify incremental here because we want to test the partitioning for
4-
//@ incremental compilation
2+
// incremental compilation
53
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
64
//@ incremental
75
//@ compile-flags:-Zprint-mono-items=lazy

tests/codegen-units/partitioning/extern-generic.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
//@ incremental
54
//@ compile-flags:-Zprint-mono-items=eager -Zshare-generics=y
65

tests/codegen-units/partitioning/incremental-merging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
2+
// incremental compilation
33
//@ incremental
44
//@ compile-flags:-Zprint-mono-items=lazy
55
//@ compile-flags:-Ccodegen-units=3

tests/codegen-units/partitioning/inlining-from-extern-crate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
//@ incremental
54
//@ compile-flags:-Zprint-mono-items=lazy
65
//@ compile-flags:-Zinline-in-all-cgus

tests/codegen-units/partitioning/local-drop-glue.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
54
//@ incremental
65
//@ compile-flags:-Zprint-mono-items=lazy

tests/codegen-units/partitioning/local-generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
2+
// incremental compilation
33
//@ incremental
44
//@ compile-flags:-Zprint-mono-items=eager
55

tests/codegen-units/partitioning/local-inlining-but-not-all.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
//@ incremental
54
//@ compile-flags:-Zprint-mono-items=lazy
65
//@ compile-flags:-Zinline-in-all-cgus=no

tests/codegen-units/partitioning/local-inlining.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
//@ incremental
54
//@ compile-flags:-Zprint-mono-items=lazy
65
//@ compile-flags:-Zinline-in-all-cgus

tests/codegen-units/partitioning/local-transitive-inlining.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//
21
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
2+
// incremental compilation
43
//@ incremental
54
//@ compile-flags:-Zprint-mono-items=lazy
65
//@ compile-flags:-Zinline-in-all-cgus

tests/codegen-units/partitioning/methods-are-with-self-type.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
// much sense at the moment.
44
//@ ignore-test
55

6-
//
76
// We specify incremental here because we want to test the partitioning for
8-
//@ incremental compilation
7+
// incremental compilation
98
//@ incremental
109
//@ compile-flags:-Zprint-mono-items=lazy
1110

tests/codegen-units/partitioning/regular-modules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
2+
// incremental compilation
33
//@ incremental
44
//@ compile-flags:-Zprint-mono-items=eager
55

tests/codegen-units/partitioning/shared-generics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
//@ no-prefer-dynamic
32
// NOTE: We always compile this test with -Copt-level=0 because higher opt-levels
43
// prevent drop-glue from participating in share-generics.

tests/codegen-units/partitioning/statics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
2+
// incremental compilation
33
//@ incremental
44
//@ compile-flags:-Zprint-mono-items=lazy
55

tests/codegen-units/partitioning/vtable-through-const.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
31
// We specify incremental here because we want to test the partitioning for
4-
//@ incremental compilation
2+
// incremental compilation
53
//@ incremental
64
//@ compile-flags:-Zprint-mono-items=lazy
75
//@ compile-flags:-Zinline-in-all-cgus

0 commit comments

Comments
 (0)