mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 00:47:45 +00:00
![]() rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter` Compiler cannot reuse `proc_macro::Delimiter` directly due to extra impls, but can at least use the same naming. After this PR the only difference between these two enums is that `proc_macro::Delimiter::None` is turned into `token::Delimiter::Invisible`. It's my mistake that the invisible delimiter is called `None` on stable, during the stabilization I audited the naming and wrote the docs, but missed the fact that the `None` naming gives a wrong and confusing impression about what this thing is. cc https://github.com/rust-lang/rust/pull/96421 r? ``@nnethercote`` |
||
---|---|---|
.. | ||
cgu_reuse_tracker.rs | ||
code_stats.rs | ||
config.rs | ||
cstore.rs | ||
filesearch.rs | ||
lib.rs | ||
options.rs | ||
output.rs | ||
parse.rs | ||
search_paths.rs | ||
session.rs | ||
utils.rs |