We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
must_use
rust-lang/rust#121545 will cause rustc to start validating attributes on associated items in traits. It should have always done so. That change will cause async_ui_web_html to error:
async_ui_web_html
[INFO] [stdout] error: malformed `must_use` attribute input [INFO] [stdout] --> src/common_events.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[must_use("the returned object is a Future+Stream that does nothing unless polled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | make_event_impl!("change", until_change, web_sys::Event, "[MDN documentation for this event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event)... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_event_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following are the possible correct uses [INFO] [stdout] | [INFO] [stdout] 6 | #[must_use = "reason"] [INFO] [stdout] | [INFO] [stdout] 6 | #[must_use] [INFO] [stdout] |
async_ui/async_ui_web_html/src/common_events.rs
Line 6 in 141a0f0
Fixing this will be straightforward.
The text was updated successfully, but these errors were encountered:
Fixed by #9 . Thank you!
Sorry, something went wrong.
No branches or pull requests
rust-lang/rust#121545 will cause rustc to start validating attributes on associated items in traits. It should have always done so. That change will cause
async_ui_web_html
to error:async_ui/async_ui_web_html/src/common_events.rs
Line 6 in 141a0f0
Fixing this will be straightforward.
The text was updated successfully, but these errors were encountered: