This commit is contained in:
Lukas Wirth 2022-02-02 18:18:08 +01:00
parent 9f5ee155c1
commit 7619c2afea
5 changed files with 25 additions and 37 deletions

View file

@ -72,12 +72,12 @@ pub(crate) struct PathCompletionCtx {
#[derive(Debug)]
pub(crate) struct PathQualifierCtx {
pub path: ast::Path,
pub resolution: Option<PathResolution>,
pub(crate) path: ast::Path,
pub(crate) resolution: Option<PathResolution>,
/// Whether this path consists solely of `super` segments
pub is_super_chain: bool,
pub(crate) is_super_chain: bool,
/// Whether the qualifier comes from a use tree parent or not
pub use_tree_parent: bool,
pub(crate) use_tree_parent: bool,
}
#[derive(Debug)]