Skip to content

syntax: Forbid non-string literals in meta items. #623 #10166

New issue

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

Closed
wants to merge 1 commit into from

Conversation

brson
Copy link
Contributor

@brson brson commented Oct 30, 2013

This doesn't fix #623 but works around it by limiting the grammar.

@sanxiyn
Copy link
Member

sanxiyn commented Oct 30, 2013

Failed in item-attributes test, which explicitly tests non-string literals in attributes.

bors added a commit that referenced this pull request Oct 31, 2013
This doesn't fix #623 but works around it by limiting the grammar.
@bors bors closed this Oct 31, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 12, 2023
unused_self: Don't trigger if the method body contains todo!()

If the author is using todo!(), presumably they intend to use self at some point later, so we don't have a good basis to recommend factoring out to an associated function.

Fixes rust-lang#10117.

---

changelog: Enhancement: [`unused_self`]: No longer lints, if the method body contains a `todo!()` call
[rust-lang#10166](rust-lang/rust-clippy#10166)
<!-- changelog_checked -->
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.

Encode/decode meta_name_values with non-string values
4 participants