Skip to content

Commit d1d75a9

Browse files
committed
Keep comment slashes in codegen tests
…to prevent changed source locations.
1 parent 9c91e67 commit d1d75a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+59
-0
lines changed

src/test/codegen-units/item-collection/drop_in_place_intrinsic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23
// compile-flags:-Zinline-in-all-cgus
34

src/test/codegen-units/item-collection/function-as-argument.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23

34
#![deny(dead_code)]

src/test/codegen-units/item-collection/generic-drop-glue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23
// compile-flags:-Zinline-in-all-cgus
34

src/test/codegen-units/item-collection/instantiation-through-vtable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager -Zinline-in-all-cgus -Zmir-opt-level=0
23

34
#![deny(dead_code)]

src/test/codegen-units/item-collection/non-generic-closures.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// ignoring this test until MIR codegen has taken over completely
44
// ignore-test
55

6+
//
67
// compile-flags:-Zprint-mono-items=eager
78

89
#![deny(dead_code)]

src/test/codegen-units/item-collection/non-generic-drop-glue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23
// compile-flags:-Zinline-in-all-cgus
34

src/test/codegen-units/item-collection/trait-method-as-argument.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23

34
#![deny(dead_code)]

src/test/codegen-units/item-collection/transitive-drop-glue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23
// compile-flags:-Zinline-in-all-cgus
34

src/test/codegen-units/item-collection/tuple-drop-glue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//
12
// compile-flags:-Zprint-mono-items=eager
23
// compile-flags:-Zinline-in-all-cgus
34

src/test/codegen-units/partitioning/extern-drop-glue.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//
2+
13
// We specify -C incremental here because we want to test the partitioning for
24
// incremental compilation
35
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing

0 commit comments

Comments
 (0)