mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Fix comments in tests
This commit is contained in:
parent
f1b11939e2
commit
1605e0ec4e
@ -40,7 +40,7 @@ fn main() {
|
||||
asm!("{}", const const_bar(x));
|
||||
//~^ ERROR attempt to use a non-constant value in a constant
|
||||
|
||||
// Const operands must be integer and must be constants.
|
||||
// Const operands must be integers and must be constants.
|
||||
|
||||
asm!("{}", const 0);
|
||||
asm!("{}", const 0i32);
|
||||
@ -52,7 +52,7 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
// Const operands must be integer or floats, and must be constants.
|
||||
// Const operands must be integers and must be constants.
|
||||
|
||||
global_asm!("{}", const 0);
|
||||
global_asm!("{}", const 0i32);
|
||||
|
Loading…
Reference in New Issue
Block a user