Skip to content

Commit c74b2a0

Browse files
authored
Merge pull request #244 from m-ou-se/2021-summaries
Fix lies.
2 parents 6a294d3 + 5171927 commit c74b2a0

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)