I don't understand this graph

⚓ Rust    📅 2026-03-21    👤 surdeus    👁️ 1      

surdeus

from : Identifiers - The Rust Reference

32

it is saying

RAW_IDENTIFIER → r# IDENTIFIER_OR_KEYWORD

and

NON_KEYWORD_IDENTIFIER → IDENTIFIER_OR_KEYWORDexcept a strict or reserved keyword

i am not sure why it is repeating the same thing here

IDENTIFIER → NON_KEYWORD_IDENTIFIER | RAW_IDENTIFIER

and what does it mean by

except _, RAW_IDENTIFIER, or $crate

here : Macros by example - The Rust Reference

5 posts - 4 participants

Read full topic

🏷️ Rust_feed