Skip to content

Commit 96e2265

Browse files
committed
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 87961c5 commit 96e2265

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
@@ -35,7 +35,7 @@ impl IntrinsicTypeDefinition for ArmIntrinsicType {
3535

3636
fn rust_type(&self) -> String {
3737
let rust_prefix = self.0.kind.rust_prefix();
38-
let c_prefix = self.0.kind.rust_prefix();
38+
let c_prefix = self.0.kind.c_prefix();
3939
if self.0.ptr_constant {
4040
self.c_type()
4141
} else if let (Some(bit_len), simd_len, vec_len) =

0 commit comments

Comments
 (0)