File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 9
9
//! Note that all dbghelp support is loaded dynamically, see `src/dbghelp.rs`
10
10
//! for more information about that.
11
11
12
- #![ allow( bad_style) ]
13
-
14
12
use super :: super :: { dbghelp, windows_sys:: * } ;
15
13
use core:: ffi:: c_void;
16
14
use core:: mem;
@@ -119,6 +117,7 @@ pub unsafe fn trace(cb: &mut dyn FnMut(&super::Frame) -> bool) {
119
117
// Attempt to use `StackWalkEx` if we can, but fall back to `StackWalk64`
120
118
// since it's in theory supported on more systems.
121
119
match ( * dbghelp. dbghelp ( ) ) . StackWalkEx ( ) {
120
+ #[ allow( non_snake_case) ]
122
121
Some ( StackWalkEx ) => {
123
122
let mut inner: STACKFRAME_EX = mem:: zeroed ( ) ;
124
123
inner. StackFrameSize = mem:: size_of :: < STACKFRAME_EX > ( ) as u32 ;
Original file line number Diff line number Diff line change 6
6
//! We still report inlined frames during symbolization by consulting the appropriate
7
7
//! `dbghelp` functions.
8
8
9
- #![ allow( bad_style) ]
10
-
11
9
use super :: super :: windows_sys:: * ;
12
10
use core:: ffi:: c_void;
13
11
You can’t perform that action at this time.
0 commit comments