diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-01 10:51:30 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:16:14 -0700 |
| commit | f12b51705b064bbbeb86ad65663de476d07ad51f (patch) | |
| tree | 5d0e8ae3cc7bfa2be981a213ec4488defa8d65aa /src/rustllvm/RustWrapper.cpp | |
| parent | e4271cae54c7f4a868c60a1822b91e702e511947 (diff) | |
| download | rust-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
