Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanqun Lu committed Oct 2, 2019
1 parent 5abc5e9 commit 51482d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/ui/suggestions/remove-as_str.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ error[E0599]: no method named `as_str` found for type `&str` in the current scop
--> $DIR/remove-as_str.rs:2:7
|
LL | s.as_str();
| ^^^^^^ help: try removing `as_str`
| ^^^^^^ try removing `as_str`

error[E0599]: no method named `as_str` found for type `&'a str` in the current scope
--> $DIR/remove-as_str.rs:7:7
|
LL | s.as_str();
| ^^^^^^ help: try removing `as_str`
| ^^^^^^ try removing `as_str`

error[E0599]: no method named `as_str` found for type `&mut str` in the current scope
--> $DIR/remove-as_str.rs:12:7
|
LL | s.as_str();
| ^^^^^^ help: try removing `as_str`
| ^^^^^^ try removing `as_str`

error[E0599]: no method named `as_str` found for type `&&str` in the current scope
--> $DIR/remove-as_str.rs:17:7
|
LL | s.as_str();
| ^^^^^^ help: try removing `as_str`
| ^^^^^^ try removing `as_str`

error: aborting due to 4 previous errors

Expand Down

0 comments on commit 51482d0

Please sign in to comment.