Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f4ad8c4

Browse files
committedApr 19, 2019
bless some UI changes
1 parent a8bc182 commit f4ad8c4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎src/test/ui/issues/issue-2149.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ error[E0599]: no method named `bind` found for type `[&str; 1]` in the current s
1010
--> $DIR/issue-2149.rs:13:12
1111
|
1212
LL | ["hi"].bind(|x| [x] );
13-
| ^^^^
13+
| ^^^^ help: did you mean: `find`
1414
|
1515
= help: items from traits can only be used if the trait is implemented and in scope
1616
= note: the following trait defines an item `bind`, perhaps you need to implement it:

‎src/test/ui/issues/issue-48364.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fn foo() -> bool {
2-
b"".starts_with(stringify!(foo))
2+
b"".eq_ignore_ascii_case(stringify!(foo))
33
//~^ ERROR mismatched types
44
}
55

‎src/test/ui/issues/issue-48364.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error[E0308]: mismatched types
2-
--> $DIR/issue-48364.rs:2:21
2+
--> $DIR/issue-48364.rs:2:30
33
|
4-
LL | b"".starts_with(stringify!(foo))
5-
| ^^^^^^^^^^^^^^^ expected slice, found str
4+
LL | b"".eq_ignore_ascii_case(stringify!(foo))
5+
| ^^^^^^^^^^^^^^^ expected slice, found str
66
|
77
= note: expected type `&[u8]`
88
found type `&'static str`

0 commit comments

Comments
 (0)
Please sign in to comment.