rust/compiler/rustc_parse/src/parser
León Orell Valerian Liehr c5665990c5
Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercote
Cleanup: Rename `ModSep` to `PathSep`

`::` is usually referred to as the *path separator* (citation needed).

The existing name `ModSep` for *module separator* is a bit misleading since it in fact separates the segments of arbitrary path segments, not only ones resolving to modules. Let me just give a shout-out to associated items (`T::Assoc`, `<Ty as Trait>::function`) and enum variants (`Option::None`).

Motivation: Reduce friction for new contributors, prevent potential confusion.

cc `@petrochenkov`
r? nnethercote or compiler
2024-04-16 01:12:37 +02:00
..
attr.rs Rewrite parse_meta_item. 2024-03-21 10:16:09 +11:00
attr_wrapper.rs Check x86_64 size assertions on aarch64, too 2024-04-03 16:53:03 +11:00
diagnostics.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
expr.rs remove some things that do not need to be 2024-04-11 21:09:52 +02:00
generics.rs Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00:00
item.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
mod.rs Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercote 2024-04-16 01:12:37 +02:00
nonterminal.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
pat.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
path.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00
stmt.rs Use better variable names in some maybe_whole! calls. 2024-03-21 10:18:34 +11:00
ty.rs Rename ModSep to PathSep 2024-04-04 19:44:04 +02:00