Skip to content

Commit 78826ea

Browse files
a4lgmadhav-madhusoodanan
authored andcommitted
intrinsic-test: Use c_prefix to generate type names
To make the type names to test correct, this commit replaces occurrences of `rust_prefix` to `c_prefix` where necessary.
1 parent acbd766 commit 78826ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/intrinsic-test/src/arm/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl IntrinsicTypeDefinition for ArmIntrinsicType {
3737

3838
fn rust_type(&self) -> String {
3939
let rust_prefix = self.0.kind.rust_prefix();
40-
let c_prefix = self.0.kind.rust_prefix();
40+
let c_prefix = self.0.kind.c_prefix();
4141
if self.0.ptr_constant {
4242
self.c_type()
4343
} else if let (Some(bit_len), simd_len, vec_len) =

0 commit comments

Comments
 (0)