Skip to content

Commit 667411b

Browse files
committed
hack: do not modify types in this case
1 parent 7cf9dae commit 667411b

File tree

1 file changed

+1
-1
lines changed
  • c2rust-transpile/src/translator

1 file changed

+1
-1
lines changed

c2rust-transpile/src/translator/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3564,7 +3564,7 @@ impl<'c> Translation<'c> {
35643564
.ast_context
35653565
.type_for_kind(&kind_with_declared_args)
35663566
.expect(&format!("no type for kind {kind_with_declared_args:?}"));
3567-
source_ty = CQualTypeId::new(func_ty);
3567+
//source_ty = CQualTypeId::new(func_ty);
35683568
}
35693569

35703570
// In general, if we are casting the result of an expression, then the inner

0 commit comments

Comments
 (0)