File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cprover_bindings/src/irep
kani-compiler/src/codegen_cprover_gotoc/codegen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ impl ToIrep for DatatypeComponent {
136136 ( IrepId :: CPrettyName , Irep :: just_string_id( name. to_string( ) ) ) ,
137137 ( IrepId :: Type , typ. to_irep( mm) ) ,
138138 ] ) ,
139- DatatypeComponent :: UnionField { name, typ, padded_typ } => {
139+ DatatypeComponent :: UnionField { name, typ : _ , padded_typ } => {
140140 Irep :: just_named_sub ( linear_map ! [
141141 ( IrepId :: Name , Irep :: just_string_id( name. to_string( ) ) ) ,
142142 ( IrepId :: CPrettyName , Irep :: just_string_id( name. to_string( ) ) ) ,
Original file line number Diff line number Diff line change @@ -1230,7 +1230,7 @@ impl<'tcx> GotocCtx<'tcx> {
12301230 } else {
12311231 let pad =
12321232 DatatypeComponent :: Padding { name : pad_name. into ( ) , bits : * padding } ;
1233- ctx. ensure_struct ( struct_name, pretty_struct_name, |ctx , _| {
1233+ ctx. ensure_struct ( struct_name, pretty_struct_name, |_ctx , _| {
12341234 vec ! [ DatatypeComponent :: field( name, ty. clone( ) ) , pad. clone( ) ]
12351235 } )
12361236 } ;
You can’t perform that action at this time.
0 commit comments