Grammar check: update rustc for forced keywords - #2369
Conversation
|
To be clear, this fixes the compilation, the changed grammar means that the actual grammar check fails Fixing the actual check will require more extensive changes to the actual reference grammar that should be done later |
Note that this feature is perma-unstable and should not be observable on stable. The Reference should not mention this token kind. From the perspective of the Reference It just "happens to be case" that rustc emits a different diagnostic for What happens if the source code also contains |
a44c939 to
9c3509d
Compare
9c3509d to
048dfca
Compare
|
Thanks @DanielEScherzer. |
Fixes #2368
Cross ref rust-lang/rust#161775
Dispatched workflow confirmed the fix: https://github.com/DanielEScherzer/reference/actions/runs/36614349553/job/109563438649