about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-01 10:51:30 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:16:14 -0700
commitf12b51705b064bbbeb86ad65663de476d07ad51f (patch)
tree5d0e8ae3cc7bfa2be981a213ec4488defa8d65aa /src/rustllvm/RustWrapper.cpp
parente4271cae54c7f4a868c60a1822b91e702e511947 (diff)
downloadrust-f12b51705b064bbbeb86ad65663de476d07ad51f.tar.gz
rust-f12b51705b064bbbeb86ad65663de476d07ad51f.zip
core: Remove generics from Option::expect
The prospects of a generic failure function such as this existing in libcore are
bleak, due to monomorphization not working across the crate boundary, and
allocation into a ~Any is not allowed in libcore.

The argument to expect() is now &str instead of <M: Send + Any>

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