diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-05-16 03:54:08 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-05-16 03:54:08 +0100 |
| commit | 1605e0ec4e21d563703f4504740fa90b16089c20 (patch) | |
| tree | fddddba3ae9b420343e0c5f76ed87799f48b2e59 | |
| parent | f1b11939e22582b4100843344ed7bf1b5184e704 (diff) | |
| download | rust-1605e0ec4e21d563703f4504740fa90b16089c20.tar.gz rust-1605e0ec4e21d563703f4504740fa90b16089c20.zip | |
Fix comments in tests
| -rw-r--r-- | src/test/ui/asm/type-check-1.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/asm/type-check-1.rs b/src/test/ui/asm/type-check-1.rs index 84bffa65a12..5e38fb70a4a 100644 --- a/src/test/ui/asm/type-check-1.rs +++ b/src/test/ui/asm/type-check-1.rs @@ -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); |
