We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1b1193 commit 1605e0eCopy full SHA for 1605e0e
src/test/ui/asm/type-check-1.rs
@@ -40,7 +40,7 @@ fn main() {
40
asm!("{}", const const_bar(x));
41
//~^ ERROR attempt to use a non-constant value in a constant
42
43
- // Const operands must be integer and must be constants.
+ // Const operands must be integers and must be constants.
44
45
asm!("{}", const 0);
46
asm!("{}", const 0i32);
@@ -52,7 +52,7 @@ fn main() {
52
}
53
54
55
-// Const operands must be integer or floats, and must be constants.
+// Const operands must be integers and must be constants.
56
57
global_asm!("{}", const 0);
58
global_asm!("{}", const 0i32);
0 commit comments