diff options
| author | Ralf Jung <post@ralfj.de> | 2024-06-08 21:41:56 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-06-08 21:41:56 +0200 |
| commit | 536723501a3cf7a6d62ccbe57de2d41ca0cfeefc (patch) | |
| tree | df3ed27d4157275e3d2c19792f79eea79864720a /compiler/rustc_parse/src/parser/path.rs | |
| parent | 1ae0053d97a1efc5293aa7143376eda52f7ffb28 (diff) | |
| parent | 565cadb514d35e7b851540edbc172af0f606014f (diff) | |
| download | rust-536723501a3cf7a6d62ccbe57de2d41ca0cfeefc.tar.gz rust-536723501a3cf7a6d62ccbe57de2d41ca0cfeefc.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_parse/src/parser/path.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/path.rs | 2 |
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. |
