File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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
22 --> $DIR/remove-as_str.rs:2:7
33 |
44LL | s.as_str();
5- | ^^^^^^ help: try removing `as_str`
5+ | ^^^^^^ try removing `as_str`
66
77error[E0599]: no method named `as_str` found for type `&'a str` in the current scope
88 --> $DIR/remove-as_str.rs:7:7
99 |
1010LL | s.as_str();
11- | ^^^^^^ help: try removing `as_str`
11+ | ^^^^^^ try removing `as_str`
1212
1313error[E0599]: no method named `as_str` found for type `&mut str` in the current scope
1414 --> $DIR/remove-as_str.rs:12:7
1515 |
1616LL | s.as_str();
17- | ^^^^^^ help: try removing `as_str`
17+ | ^^^^^^ try removing `as_str`
1818
1919error[E0599]: no method named `as_str` found for type `&&str` in the current scope
2020 --> $DIR/remove-as_str.rs:17:7
2121 |
2222LL | s.as_str();
23- | ^^^^^^ help: try removing `as_str`
23+ | ^^^^^^ try removing `as_str`
2424
2525error: aborting due to 4 previous errors
2626
You can’t perform that action at this time.
0 commit comments