mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
ignore wasm in test
This commit is contained in:
parent
003ed76e41
commit
91d5a32bc5
@ -1,3 +1,5 @@
|
||||
// ignore-wasm32 FIXME: ignoring wasm as it suggests slightly different impls
|
||||
|
||||
// Regression test for #72616, it used to emit incorrect diagnostics, like:
|
||||
// error[E0283]: type annotations needed for `String`
|
||||
// --> src/main.rs:8:30
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0283]: type annotations needed
|
||||
--> $DIR/issue-72616.rs:20:37
|
||||
--> $DIR/issue-72616.rs:22:37
|
||||
|
|
||||
LL | if String::from("a") == "a".try_into().unwrap() {}
|
||||
| -- ^^^^^^^^
|
||||
@ -17,7 +17,7 @@ LL | if String::from("a") == <&str as TryInto<T>>::try_into("a").unwrap(
|
||||
| +++++++++++++++++++++++++++++++ ~
|
||||
|
||||
error[E0283]: type annotations needed
|
||||
--> $DIR/issue-72616.rs:20:37
|
||||
--> $DIR/issue-72616.rs:22:37
|
||||
|
|
||||
LL | if String::from("a") == "a".try_into().unwrap() {}
|
||||
| ^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user