File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,25 @@ error[E0599]: no method named `as_str` found for type `&str` in the current scop
2
2
--> $DIR/remove-as_str.rs:2:7
3
3
|
4
4
LL | s.as_str();
5
- | ^^^^^^ help: try removing `as_str`
5
+ | ^^^^^^ try removing `as_str`
6
6
7
7
error[E0599]: no method named `as_str` found for type `&'a str` in the current scope
8
8
--> $DIR/remove-as_str.rs:7:7
9
9
|
10
10
LL | s.as_str();
11
- | ^^^^^^ help: try removing `as_str`
11
+ | ^^^^^^ try removing `as_str`
12
12
13
13
error[E0599]: no method named `as_str` found for type `&mut str` in the current scope
14
14
--> $DIR/remove-as_str.rs:12:7
15
15
|
16
16
LL | s.as_str();
17
- | ^^^^^^ help: try removing `as_str`
17
+ | ^^^^^^ try removing `as_str`
18
18
19
19
error[E0599]: no method named `as_str` found for type `&&str` in the current scope
20
20
--> $DIR/remove-as_str.rs:17:7
21
21
|
22
22
LL | s.as_str();
23
- | ^^^^^^ help: try removing `as_str`
23
+ | ^^^^^^ try removing `as_str`
24
24
25
25
error: aborting due to 4 previous errors
26
26
You can’t perform that action at this time.
0 commit comments