about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorfee1-dead <ent3rm4n@gmail.com>2023-07-06 09:20:35 +0800
committerGitHub <noreply@github.com>2023-07-06 09:20:35 +0800
commitc668eb086e27985043b060b82d913520fd24612b (patch)
tree5df0cf40731b8a62b798d96f9434d7c2433f414d /compiler/rustc_interface/src/errors.rs
parent70e8f9d4c01a7293ce1395bf1ad6c84f4432e0e3 (diff)
parent79df44ba78a10f5ca4cae70d81aa98bfb402e05a (diff)
downloadrust-c668eb086e27985043b060b82d913520fd24612b.tar.gz
rust-c668eb086e27985043b060b82d913520fd24612b.zip
Rollup merge of #113384 - joshtriplett:style-guide-grammar, r=compiler-errors
style-guide: Clarify grammar for small patterns (not a semantic change)

The grammar as written feels ambiguous and confusing, in large part
because it uses square brackets and commas in the names of
non-terminals. Rewrite it to avoid symbols in the names of
non-terminals, and to instead wrap terminals in backquotes.

Also rename "smallntp" to "small_no_tuple" to make it self-describing.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions