@@ -11,15 +11,15 @@ use crate::symbol_map::{
11
11
use crate :: symbol_map_object:: { FunctionAddressesComputer , ObjectSymbolMapDataMid } ;
12
12
use crate :: { debug_id_for_object, ElfBuildId } ;
13
13
14
- pub async fn load_symbol_map_for_elf < ' h , T , FL , H > (
14
+ pub async fn load_symbol_map_for_elf < T , FL , H > (
15
15
file_location : FL ,
16
16
file_contents : FileContentsWrapper < T > ,
17
17
file_kind : FileKind ,
18
- helper : & ' h H ,
18
+ helper : & H ,
19
19
) -> Result < SymbolMap < FL > , Error >
20
20
where
21
21
T : FileContents + ' static ,
22
- H : FileAndPathHelper < ' h , F = T , FL = FL > ,
22
+ H : FileAndPathHelper < F = T , FL = FL > ,
23
23
FL : FileLocation ,
24
24
{
25
25
let elf_file =
@@ -51,14 +51,14 @@ where
51
51
Ok ( SymbolMap :: new ( file_location, Box :: new ( symbol_map) ) )
52
52
}
53
53
54
- async fn try_to_get_symbol_map_from_debug_link < ' h , ' data , H , R , FL > (
54
+ async fn try_to_get_symbol_map_from_debug_link < ' data , H , R , FL > (
55
55
original_file_location : & H :: FL ,
56
56
elf_file : & File < ' data , R > ,
57
57
file_kind : FileKind ,
58
- helper : & ' h H ,
58
+ helper : & H ,
59
59
) -> Option < SymbolMap < FL > >
60
60
where
61
- H : FileAndPathHelper < ' h , FL = FL > ,
61
+ H : FileAndPathHelper < FL = FL > ,
62
62
R : ReadRef < ' data > ,
63
63
FL : FileLocation ,
64
64
{
@@ -87,16 +87,16 @@ where
87
87
None
88
88
}
89
89
90
- async fn get_symbol_map_for_debug_link_candidate < ' h , H , FL > (
90
+ async fn get_symbol_map_for_debug_link_candidate < H , FL > (
91
91
original_file_location : & FL ,
92
92
path : & FL ,
93
93
debug_id : DebugId ,
94
94
expected_crc : u32 ,
95
95
file_kind : FileKind ,
96
- helper : & ' h H ,
96
+ helper : & H ,
97
97
) -> Result < SymbolMap < FL > , Error >
98
98
where
99
- H : FileAndPathHelper < ' h , FL = FL > ,
99
+ H : FileAndPathHelper < FL = FL > ,
100
100
FL : FileLocation ,
101
101
{
102
102
let file_contents = helper
@@ -217,13 +217,13 @@ fn compute_debug_link_crc_of_file_contents<T: FileContents>(
217
217
Ok ( computer. 0 )
218
218
}
219
219
220
- async fn try_to_load_supplementary_file < ' h , ' data , H , F , R > (
220
+ async fn try_to_load_supplementary_file < ' data , H , F , R > (
221
221
original_file_location : & H :: FL ,
222
222
elf_file : & File < ' data , R > ,
223
- helper : & ' h H ,
223
+ helper : & H ,
224
224
) -> Option < FileContentsWrapper < F > >
225
225
where
226
- H : FileAndPathHelper < ' h , F = F > ,
226
+ H : FileAndPathHelper < F = F > ,
227
227
R : ReadRef < ' data > ,
228
228
F : FileContents + ' static ,
229
229
{
0 commit comments