Skip to content

Commit 91d5a32

Browse files
committed
ignore wasm in test
1 parent 003ed76 commit 91d5a32

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/ui/inference/issue-72616.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-wasm32 FIXME: ignoring wasm as it suggests slightly different impls
2+
13
// Regression test for #72616, it used to emit incorrect diagnostics, like:
24
// error[E0283]: type annotations needed for `String`
35
// --> src/main.rs:8:30

src/test/ui/inference/issue-72616.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0283]: type annotations needed
2-
--> $DIR/issue-72616.rs:20:37
2+
--> $DIR/issue-72616.rs:22:37
33
|
44
LL | if String::from("a") == "a".try_into().unwrap() {}
55
| -- ^^^^^^^^
@@ -17,7 +17,7 @@ LL | if String::from("a") == <&str as TryInto<T>>::try_into("a").unwrap(
1717
| +++++++++++++++++++++++++++++++ ~
1818

1919
error[E0283]: type annotations needed
20-
--> $DIR/issue-72616.rs:20:37
20+
--> $DIR/issue-72616.rs:22:37
2121
|
2222
LL | if String::from("a") == "a".try_into().unwrap() {}
2323
| ^^^^^^^^

0 commit comments

Comments
 (0)