diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 3 | ||||
| -rw-r--r-- | src/test/run-pass/box-unbox.rs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 6d5da821..487cbe60 100644 --- a/src/Makefile +++ b/src/Makefile @@ -428,6 +428,7 @@ TEST_XFAILS_RUSTC := $(filter-out \ arith-1.rs \ arith-2.rs \ autoderef-full-lval.rs \ + bind-exterior.rs \ bind-interior.rs \ bind-thunk.rs \ bind-trivial.rs \ @@ -444,6 +445,7 @@ TEST_XFAILS_RUSTC := $(filter-out \ deref.rs \ div-mod.rs \ drop-bind-thunk-args.rs \ + drop-on-empty-block-exit.rs \ drop-on-ret.rs \ fact.rs \ fn-lval.rs \ @@ -468,6 +470,7 @@ TEST_XFAILS_RUSTC := $(filter-out \ large-records.rs \ lazy-init.rs \ lazy-and-or.rs \ + leak-box-as-tydesc.rs \ linear-for-loop.rs \ multiline-comment.rs \ mutual-recursion-group.rs \ diff --git a/src/test/run-pass/box-unbox.rs b/src/test/run-pass/box-unbox.rs index 9c00f55c..d0ad615b 100644 --- a/src/test/run-pass/box-unbox.rs +++ b/src/test/run-pass/box-unbox.rs @@ -1,6 +1,6 @@ type box[T] = tup(@T); -fn unbox[T](box[T] b) -> T { ret *b._0; } +fn unbox[T](&box[T] b) -> T { ret *b._0; } fn main() { let int foo = 17; |