Skip to content

Commit 5171927

Browse files
committed
Fix summary of rust-2021/reserving-syntax.
1 parent 6a294d3 commit 5171927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rust-2021/reserving-syntax.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## Summary
44

55
- `any_prefix#..`, `any_prefix".."`, and `any_prefix'..'` are reserved syntax, and no longer tokenize.
6-
- These did not parse as valid Rust in any edition, except in arguments to macros.
6+
- This is mostly relevant to macros. E.g. `quote!{ #a#b }` is no longer accepted.
7+
- It doesn't treat keywords specially, so e.g. `match".." {}` is no longer accepted.
78
- Insert whitespace to avoid errors.
89

910
## Details

0 commit comments

Comments
 (0)