Skip to content

Commit e8d266c

Browse files
committed
Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.
1 parent a0aedd1 commit e8d266c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
439439
drop-on-ret.rs \
440440
fact.rs \
441441
generic-fn-infer.rs \
442+
generic-drop-glue.rs \
442443
hello.rs \
443444
int.rs \
444445
i32-sub.rs \
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
fn f[T](&T t) {
2-
log "dropping";
2+
let T t1 = t;
33
}
44

55
fn main() {
6-
type r = rec(@int x, @int y);
76
auto x = rec(x=@10, y=@12);
8-
f[r](x);
7+
f(x);
98
}

0 commit comments

Comments
 (0)