File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ impl fmt::Display for UnwindError {
33
33
// tracing
34
34
pub fn unwind_backtrace ( frames : & mut [ Frame ] ) -> io:: Result < ( usize , BacktraceContext ) > {
35
35
let mut cx = Context { idx : 0 , frames } ;
36
- let result_unwind =
37
- unsafe { uw:: _Unwind_Backtrace ( trace_fn, & mut cx as * mut Context as * mut libc:: c_void ) } ;
36
+ let result_unwind = unsafe {
37
+ uw:: _Unwind_Backtrace ( trace_fn, & mut cx as * mut Context < ' _ > as * mut libc:: c_void )
38
+ } ;
38
39
// See libunwind:src/unwind/Backtrace.c for the return values.
39
40
// No, there is no doc.
40
41
match result_unwind {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub fn unsetenv(_: &OsStr) -> io::Result<()> {
34
34
35
35
pub struct SplitPaths < ' a > ( & ' a Void ) ;
36
36
37
- pub fn split_paths ( _unparsed : & OsStr ) -> SplitPaths {
37
+ pub fn split_paths ( _unparsed : & OsStr ) -> SplitPaths < ' _ > {
38
38
panic ! ( "unsupported" )
39
39
}
40
40
You can’t perform that action at this time.
0 commit comments