about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-01-07 15:15:34 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-01-08 00:41:43 +0100
commit4a31aaddb364f5ab8280242a1016bdd3d10dcaed (patch)
treee62158c713cb8491833f4cff687dca10faabc5aa /src/rustllvm/RustWrapper.cpp
parent82af2a1847fd51dd82f38666283ec9ff174d7a74 (diff)
downloadrust-4a31aaddb364f5ab8280242a1016bdd3d10dcaed.tar.gz
rust-4a31aaddb364f5ab8280242a1016bdd3d10dcaed.zip
Added `box_syntax` feature gate; added to std and rustc crates for bootstrap.
To avoid using the feauture, change uses of `box <expr>` to
`Box::new(<expr>)` alternative, as noted by the feature gate message.

(Note that box patterns have no analogous trivial replacement, at
least not in general; you need to revise the code to do a partial
match, deref, and then the rest of the match.)

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions