summaryrefslogtreecommitdiff
path: root/tests/ui/suggestions/suggest-using-chars.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-01-06 19:21:47 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-30 20:12:21 +0000
commit153ed09fb3a0e7ed8d42749720e8a0b4fac50d74 (patch)
tree27ebdb0d446b0d3718c83ce08eb8dab909e88eba /tests/ui/suggestions/suggest-using-chars.stderr
parentab8dc9a0adedcee75a217ea0d60709fe38269768 (diff)
Tweak use of trimmed paths
Diffstat (limited to 'tests/ui/suggestions/suggest-using-chars.stderr')
-rw-r--r--tests/ui/suggestions/suggest-using-chars.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/suggestions/suggest-using-chars.stderr b/tests/ui/suggestions/suggest-using-chars.stderr
index 57b0e866f84..ba80ec6a201 100644
--- a/tests/ui/suggestions/suggest-using-chars.stderr
+++ b/tests/ui/suggestions/suggest-using-chars.stderr
@@ -1,4 +1,4 @@
-error[E0599]: no method named `iter` found for reference `&str` in the current scope
+error[E0599]: no method named `iter` found for reference `&'static str` in the current scope
--> $DIR/suggest-using-chars.rs:2:19
|
LL | let _ = "foo".iter();
@@ -9,7 +9,7 @@ help: because of the in-memory representation of `&str`, to obtain an `Iterator`
LL | let _ = "foo".chars();
| ~~~~~
-error[E0599]: no method named `foo` found for reference `&str` in the current scope
+error[E0599]: no method named `foo` found for reference `&'static str` in the current scope
--> $DIR/suggest-using-chars.rs:3:19
|
LL | let _ = "foo".foo();