diff options
| author | bors <bors@rust-lang.org> | 2014-09-03 02:40:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-03 02:40:59 +0000 |
| commit | f7ec95efbb96f8e9bcb8b5e71b5d13803e840dc9 (patch) | |
| tree | 7a86e9affd42434d280540f8208e710b78482e98 /src/librustrt | |
| parent | 2e385817926f6f914fbff482aab3a8b627e7feee (diff) | |
| parent | 7f72884f1366ee9a46cd2b231c09c5c0e44f7ba3 (diff) | |
| download | rust-f7ec95efbb96f8e9bcb8b5e71b5d13803e840dc9.tar.gz rust-f7ec95efbb96f8e9bcb8b5e71b5d13803e840dc9.zip | |
auto merge of #16917 : nick29581/rust/cross-trait, r=pcwalton
Closes #15349 r? @pcwalton (or anyone else)
Diffstat (limited to 'src/librustrt')
| -rw-r--r-- | src/librustrt/unwind.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs index 9de58960c5e..9e6dff8a751 100644 --- a/src/librustrt/unwind.rs +++ b/src/librustrt/unwind.rs @@ -570,7 +570,7 @@ fn begin_unwind_inner(msg: Box<Any + Send>, file_line: &(&'static str, uint)) -> n => { let f: Callback = unsafe { mem::transmute(n) }; let (file, line) = *file_line; - f(msg, file, line); + f(&*msg, file, line); } } }; |
