rust/compiler/rustc_parse/src
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
..
lexer Rollup merge of #123223 - estebank:issue-123079, r=pnkfelix 2024-04-12 17:41:33 +02:00
parser Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercote 2024-04-16 01:12:37 +02:00
errors.rs Implement mut ref/mut ref mut 2024-03-27 09:53:23 -04:00
lib.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
validate_attr.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00