Skip to content

Commit 8691723

Browse files
committed
Fixup tests
The drop glue for `i8` is no longer generated as a trans item
1 parent c2de80f commit 8691723

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/test/codegen-units/item-collection/impl-in-non-instantiated-generic.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ pub fn generic_function<T>(x: T) -> (T, i32) {
3232
fn main() {
3333
0i64.foo();
3434
}
35-
36-
//~ TRANS_ITEM drop-glue i8

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,3 @@ fn main() {
5959
fn run_closure(f: &Fn(i32)) {
6060
f(3);
6161
}
62-
63-
//~ TRANS_ITEM drop-glue i8

src/test/codegen-units/item-collection/statics-and-consts.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ fn main() {
6060
//~ TRANS_ITEM static statics_and_consts::foo[0]::STATIC2[2]
6161

6262
//~ TRANS_ITEM fn statics_and_consts::main[0]
63-
64-
//~ TRANS_ITEM drop-glue i8

0 commit comments

Comments
 (0)