Skip to content

Commit 2b596f1

Browse files
jgarzikclaude
andcommitted
cc: fix kw.rs warnings — use anonymous entries for tag-only keywords
Use `_` as the name for keyword entries that are only needed for interning and tag-based membership (nullability qualifiers, attribute names, fortified builtins, etc.). The define_ids! macro skips pub const emission for `_` entries, eliminating 71 dead_code warnings without #[allow(dead_code)]. Also fix redundant_closure clippy lint in is_nullability_qualifier call, and remove unused tags() function. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent be14929 commit 2b596f1

File tree

2 files changed

+251
-263
lines changed

2 files changed

+251
-263
lines changed

0 commit comments

Comments
 (0)