about summary refs log tree commit diff
path: root/tests/ui/asm/non-const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/asm/non-const.rs')
-rw-r--r--tests/ui/asm/non-const.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/asm/non-const.rs b/tests/ui/asm/non-const.rs
index 63c46563226..dc9317b90b1 100644
--- a/tests/ui/asm/non-const.rs
+++ b/tests/ui/asm/non-const.rs
@@ -8,4 +8,4 @@ fn main() {}
 fn non_const_fn(x: i32) -> i32 { x }
 
 global_asm!("/* {} */", const non_const_fn(0));
-//~^ERROR: cannot call non-const fn
+//~^ERROR: cannot call non-const function