1
Fork 0

Change name of lang_start_real to lang_start_internal

Also remove `'static` from `__rust_begin_short_backtrace`
This commit is contained in:
Bastian Köcher 2017-12-24 00:35:38 +01:00
parent 7dfec34a20
commit 81e375dba5
2 changed files with 4 additions and 5 deletions

View file

@ -128,7 +128,7 @@ fn filter_frames(frames: &[Frame],
/// Fixed frame used to clean the backtrace with `RUST_BACKTRACE=1`.
#[inline(never)]
pub fn __rust_begin_short_backtrace<F, T>(f: F) -> T
where F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
where F: FnOnce() -> T, F: Send, T: Send
{
f()
}