about summary refs log tree commit diff
path: root/tests/ui/resolve
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-07 15:44:12 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-04-07 19:13:31 +0300
commit5c160f511e321a89eef01fcf17c6cc4c0f4e5c00 (patch)
tree016abaa173e463d7a708e6def26c9b41a18d0a32 /tests/ui/resolve
parentb86b3fb640e4f914db9013872e8ff67b74ba286d (diff)
downloadrust-5c160f511e321a89eef01fcf17c6cc4c0f4e5c00.tar.gz
rust-5c160f511e321a89eef01fcf17c6cc4c0f4e5c00.zip
compiletest: Stricter parsing for diagnostic kinds
Diffstat (limited to 'tests/ui/resolve')
-rw-r--r--tests/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.rs b/tests/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.rs
index ecd3f588119..7216b0294dc 100644
--- a/tests/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.rs
+++ b/tests/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.rs
@@ -4,15 +4,15 @@ struct A {
 
 impl A {
     fn new(cofig: String) -> Self {
-        Self { config } //~ Error cannot find value `config` in this scope
+        Self { config } //~ ERROR cannot find value `config` in this scope
     }
 
     fn do_something(cofig: String) {
-        println!("{config}"); //~ Error cannot find value `config` in this scope
+        println!("{config}"); //~ ERROR cannot find value `config` in this scope
     }
 
     fn self_is_available(self, cofig: String) {
-        println!("{config}"); //~ Error cannot find value `config` in this scope
+        println!("{config}"); //~ ERROR cannot find value `config` in this scope
     }
 }