Confusing diagnostic suggesting to remove .await
in attribute macro
#94877
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code, using
wasm_bindgen
combined withtokio
:One of the given errors is:
While I'm sure that what I implemented doesn't make sense, the particular suggestion
is very confusing to me.
More info
rustc --version --verbose
:If you want to reproduce, you can use commit
5acb4d7
of https://github.com/TimJentzsch/tower-lsp-wasm, which is a rather small project.Full `cargo check` output
The text was updated successfully, but these errors were encountered: