diff options
Diffstat (limited to 'src/test/compile-fail/borrowck-move-subcomponent.rs')
| -rw-r--r-- | src/test/compile-fail/borrowck-move-subcomponent.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/borrowck-move-subcomponent.rs b/src/test/compile-fail/borrowck-move-subcomponent.rs index a29a171e935..bdf6fe1f21d 100644 --- a/src/test/compile-fail/borrowck-move-subcomponent.rs +++ b/src/test/compile-fail/borrowck-move-subcomponent.rs @@ -11,6 +11,7 @@ // Tests that the borrow checker checks all components of a path when moving // out. +#![feature(box_syntax)] struct S { x : Box<int> |
