Skip to content

Commit 1605e0e

Browse files
committed
Fix comments in tests
1 parent f1b1193 commit 1605e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/asm/type-check-1.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn main() {
4040
asm!("{}", const const_bar(x));
4141
//~^ ERROR attempt to use a non-constant value in a constant
4242

43-
// Const operands must be integer and must be constants.
43+
// Const operands must be integers and must be constants.
4444

4545
asm!("{}", const 0);
4646
asm!("{}", const 0i32);
@@ -52,7 +52,7 @@ fn main() {
5252
}
5353
}
5454

55-
// Const operands must be integer or floats, and must be constants.
55+
// Const operands must be integers and must be constants.
5656

5757
global_asm!("{}", const 0);
5858
global_asm!("{}", const 0i32);

0 commit comments

Comments
 (0)