@@ -46,7 +46,7 @@ function codeBlocksToModules(code_blocks) {
46
46
/ u n s a f e _ a s m \d + /
47
47
] ;
48
48
let modules = { } ;
49
-
49
+
50
50
for ( let { name, blocks} of code_blocks ) {
51
51
let mod_section = `section_${ name } ` ;
52
52
modules [ mod_section ] = { } ;
@@ -105,21 +105,27 @@ fs.writeFileSync(OUTPUT_CRATE_SRC + '/lib.rs', root_mod);
105
105
// A list of [<module_name>, [<snippet_number>]] that are known not to be processed by hax
106
106
let cargo_hax_denylist = [
107
107
[ 'error_iter_result' , [ 3 ] ] ,
108
+ [ 'error_multiple_error_types_boxing_errors' , [ 1 ] ] , // uses dyn
109
+ [ 'error_multiple_error_types_reenter_question_mark' , [ 2 ] ] , // uses dyn
110
+ [ 'error_multiple_error_types_wrap_error' , [ 1 ] ] , // uses dyn
108
111
[ 'error_option_unwrap_defaults' , [ 3 , 4 ] ] ,
109
112
[ 'flow_control_for' , [ 1 , 2 , 3 , 5 ] ] ,
110
113
[ 'flow_control_if_let' , [ 3 ] ] ,
114
+ [ 'flow_control_let_else' , [ 1 , 2 ] ] , // Let else panics, bug #1460
111
115
[ 'flow_control_loop_nested' , [ 1 ] ] ,
112
116
[ 'flow_control_loop_return' , [ 1 ] ] ,
113
117
[ 'flow_control_loop' , [ 1 ] ] ,
114
118
[ 'flow_control_match_binding' , [ 1 , 2 ] ] ,
115
119
[ 'flow_control_match_destructuring_destructure_pointers' , [ 1 ] ] ,
116
120
[ 'flow_control_match_destructuring_destructure_slice' , [ 1 ] ] ,
121
+ [ 'flow_control_match_destructuring_destructure_tuple' , [ 1 ] ] , // .. pattern, bug #1462
117
122
[ 'flow_control_match' , [ 1 ] ] ,
118
123
[ 'flow_control_while_let' , [ 1 , 2 ] ] ,
119
124
[ 'fn_closures_capture' , [ 1 ] ] ,
120
125
[ 'fn_closures_input_parameters' , [ 1 ] ] ,
121
126
[ 'fn' , [ 1 ] ] ,
122
127
[ 'hello_print_fmt' , [ 1 ] ] ,
128
+ [ 'generics_bounds_testcase_empty' , [ 1 ] ] , // Marker traits, bug #1221
123
129
[ 'macros_dry' , [ 1 ] ] ,
124
130
[ 'scope_borrow_alias' , [ 1 ] ] ,
125
131
[ 'scope_borrow_ref' , [ 1 ] ] ,
@@ -135,6 +141,8 @@ let cargo_hax_denylist = [
135
141
[ 'std_str' , [ 1 ] ] ,
136
142
[ 'trait_iter' , [ 1 ] ] ,
137
143
[ 'trait' , [ 1 ] ] ,
144
+ [ 'trait_dyn' , [ 1 ] ] , // uses dyn
145
+ [ 'trait_supertraits' , [ 1 ] ] , // uses dyn
138
146
[ 'unsafe' , [ 1 , 2 ] ] ,
139
147
] . map ( ( [ module , snippets ] ) => snippets . map ( n => `section_${ module } ::snippet_${ n } ` ) ) . flat ( ) ;
140
148
0 commit comments