about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/path.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-07 20:14:30 +0200
committerGitHub <noreply@github.com>2024-06-07 20:14:30 +0200
commit4aceaaa7f33fe0c4ad8d0b04e8c9bc8d0e76c962 (patch)
treed878466ed34d0d6070c6265fdd663cc8bc7f563c /compiler/rustc_parse/src/parser/path.rs
parentbc793291b59b4b951c7353493bd8bffb2cd88457 (diff)
parent4c731c2f6b5d1305515c7c6820f0da731c7af4c3 (diff)
downloadrust-4aceaaa7f33fe0c4ad8d0b04e8c9bc8d0e76c962.tar.gz
rust-4aceaaa7f33fe0c4ad8d0b04e8c9bc8d0e76c962.zip
Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino
More `rustc_parse` cleanups

Following on from #125815.

r? `@spastorino`
Diffstat (limited to 'compiler/rustc_parse/src/parser/path.rs')
-rw-r--r--compiler/rustc_parse/src/parser/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/path.rs b/compiler/rustc_parse/src/parser/path.rs
index fcedc1a4af3..9beecd9849f 100644
--- a/compiler/rustc_parse/src/parser/path.rs
+++ b/compiler/rustc_parse/src/parser/path.rs
@@ -20,7 +20,7 @@ use tracing::debug;
 
 /// Specifies how to parse a path.
 #[derive(Copy, Clone, PartialEq)]
-pub enum PathStyle {
+pub(super) enum PathStyle {
     /// In some contexts, notably in expressions, paths with generic arguments are ambiguous
     /// with something else. For example, in expressions `segment < ....` can be interpreted
     /// as a comparison and `segment ( ....` can be interpreted as a function call.