Skip to content

chore: fix must_use attribute syntax#9

Merged
wishawa merged 1 commit intowishawa:mainfrom
gvozdvmozgu:must-use-attribute-syntax
Mar 9, 2024
Merged

chore: fix must_use attribute syntax#9
wishawa merged 1 commit intowishawa:mainfrom
gvozdvmozgu:must-use-attribute-syntax

Conversation

@gvozdvmozgu
Copy link
Copy Markdown
Contributor

This worked previously because the compiler did not check attributes in traits, see rust-lang/rust#121545

@wishawa wishawa merged commit e111344 into wishawa:main Mar 9, 2024
@gvozdvmozgu gvozdvmozgu deleted the must-use-attribute-syntax branch March 9, 2024 19:38
@ChocolateLoverRaj
Copy link
Copy Markdown

Looks like this is fixed on GitHub, but I have this error when using the crate:

malformed `must_use` attribute input

because the fix was not published to crates.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants