Skip to content

Commit 0c9e23c

Browse files
committed
Fix: appeased x.py test tidy --bless
1 parent eeb0b52 commit 0c9e23c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

compiler/rustc_target/src/asm/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl InlineAsmReg {
257257
Self::PowerPC(r) => r.name(),
258258
Self::Hexagon(r) => r.name(),
259259
Self::Mips(r) => r.name(),
260-
Self::S390x(r) => r.name(),
260+
Self::S390x(r) => r.name(),
261261
Self::Bpf(r) => r.name(),
262262
Self::Err => "<reg>",
263263
}
@@ -312,7 +312,7 @@ impl InlineAsmReg {
312312
InlineAsmArch::Mips | InlineAsmArch::Mips64 => {
313313
Self::Mips(MipsInlineAsmReg::parse(arch, has_feature, target, &name)?)
314314
}
315-
InlineAsmArch::S390x => {
315+
InlineAsmArch::S390x => {
316316
Self::S390x(S390xInlineAsmReg::parse(arch, has_feature, target, &name)?)
317317
}
318318
InlineAsmArch::SpirV => {
@@ -715,11 +715,11 @@ pub fn allocatable_registers(
715715
mips::fill_reg_map(arch, has_feature, target, &mut map);
716716
map
717717
}
718-
InlineAsmArch::S390x => {
719-
let mut map = s390x::regclass_map();
718+
InlineAsmArch::S390x => {
719+
let mut map = s390x::regclass_map();
720720
s390x::fill_reg_map(arch, has_feature, target, &mut map);
721721
map
722-
}
722+
}
723723
InlineAsmArch::SpirV => {
724724
let mut map = spirv::regclass_map();
725725
spirv::fill_reg_map(arch, has_feature, target, &mut map);

compiler/rustc_target/src/asm/s390x.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def_regs! {
113113
"c14 is reserved by the kernel and cannot be used as an operand for inline asm",
114114
#error = ["c15"] =>
115115
"c15 is reserved by the kernel and cannot be used as an operand for inline asm",
116-
#error = ["a2"] =>
116+
#error = ["a2"] =>
117117
"a2 is not supported by LLVM and cannot be used as an operand for inline asm",
118118
#error = ["a3"] =>
119119
"a3 is not supported by LLVM and cannot be used as an operand for inline asm",

src/test/assembly/asm/s390x-types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extern "Rust" {
4949
}
5050

5151
macro_rules! check { ($func:ident, $ty:ty, $class:ident, $mov:literal) => {
52-
#[no_mangle]
52+
#[no_mangle]
5353
pub unsafe fn $func(x: $ty) -> $ty {
5454
dont_merge(stringify!(func));
5555

@@ -60,7 +60,7 @@ macro_rules! check { ($func:ident, $ty:ty, $class:ident, $mov:literal) => {
6060
};}
6161

6262
macro_rules! check_reg { ($func:ident, $ty:ty, $reg:tt, $mov:literal) => {
63-
#[no_mangle]
63+
#[no_mangle]
6464
pub unsafe fn $func(x: $ty) -> $ty {
6565
dont_merge(stringify!(func));
6666

0 commit comments

Comments
 (0)