about summary refs log tree commit diff
path: root/tests/codegen/cf-protection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/cf-protection.rs')
-rw-r--r--tests/codegen/cf-protection.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/codegen/cf-protection.rs b/tests/codegen/cf-protection.rs
index 5120bbf114d..244d1eb2544 100644
--- a/tests/codegen/cf-protection.rs
+++ b/tests/codegen/cf-protection.rs
@@ -13,12 +13,11 @@
 #![feature(no_core, lang_items)]
 #![no_core]
 
-#[lang="sized"]
-trait Sized { }
+#[lang = "sized"]
+trait Sized {}
 
 // A basic test function.
-pub fn test() {
-}
+pub fn test() {}
 
 // undefined-NOT: !"cf-protection-branch"
 // undefined-NOT: !"cf-protection-return"