Skip to content

Commit

Permalink
Fix comments in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed May 16, 2021
1 parent f1b1193 commit 1605e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/asm/type-check-1.rs
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 1605e0e

Please sign in to comment.