about summary refs log tree commit diff
path: root/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/unwind-abis/vectorcall-unwind-abi.rs')
-rw-r--r--tests/codegen/unwind-abis/vectorcall-unwind-abi.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs b/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs
index a89794fbf6e..9929e3e3703 100644
--- a/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs
+++ b/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs
@@ -2,8 +2,8 @@
 //@ compile-flags: --target=i686-pc-windows-msvc --crate-type=rlib -Cno-prepopulate-passes
 #![no_core]
 #![feature(no_core, lang_items, c_unwind, abi_vectorcall)]
-#[lang="sized"]
-trait Sized { }
+#[lang = "sized"]
+trait Sized {}
 
 // Test that `nounwind` attributes are correctly applied to exported `vectorcall` and
 // `vectorcall-unwind` extern functions. `vectorcall-unwind` functions MUST NOT have this attribute.
@@ -11,13 +11,11 @@ trait Sized { }
 
 // CHECK: @rust_item_that_cannot_unwind() unnamed_addr #0 {
 #[no_mangle]
-pub extern "vectorcall" fn rust_item_that_cannot_unwind() {
-}
+pub extern "vectorcall" fn rust_item_that_cannot_unwind() {}
 
 // CHECK: @rust_item_that_can_unwind() unnamed_addr #1 {
 #[no_mangle]
-pub extern "vectorcall-unwind" fn rust_item_that_can_unwind() {
-}
+pub extern "vectorcall-unwind" fn rust_item_that_can_unwind() {}
 
 // Now, make some assertions that the LLVM attributes for these functions are correct.  First, make
 // sure that the first item is correctly marked with the `nounwind` attribute: