about summary refs log tree commit diff
path: root/tests/ui/parser/float-field.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-05 19:19:56 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-08 23:06:31 +0300
commitb3f75353a237f3623483c1e237be480140a8c3e1 (patch)
treea769f4d38cf7d807a27d8685f26d77db3b0b5f91 /tests/ui/parser/float-field.rs
parentd4f880f8ce832cd7560bb2f1ebc34f967055ffd7 (diff)
downloadrust-b3f75353a237f3623483c1e237be480140a8c3e1.tar.gz
rust-b3f75353a237f3623483c1e237be480140a8c3e1.zip
UI tests: add missing diagnostic kinds where possible
Diffstat (limited to 'tests/ui/parser/float-field.rs')
-rw-r--r--tests/ui/parser/float-field.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/parser/float-field.rs b/tests/ui/parser/float-field.rs
index 59fefee26aa..9bf4d90fb46 100644
--- a/tests/ui/parser/float-field.rs
+++ b/tests/ui/parser/float-field.rs
@@ -39,11 +39,11 @@ fn main() {
 
     { s.0x1.1; } //~ ERROR hexadecimal float literal is not supported
                  //~| ERROR unexpected token: `0x1.1`
-                 //~| expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1`
+                 //~| ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1`
 
     { s.0x1.1e1; } //~ ERROR hexadecimal float literal is not supported
                    //~| ERROR unexpected token: `0x1.1e1`
-                   //~| expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e1`
+                   //~| ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e1`
 
     { s.0x1e+; } //~ ERROR expected expression, found `;`