Fix visibility

This commit is contained in:
Aleksey Kladov 2020-05-09 13:57:19 +02:00
parent 25e37e2c93
commit c6334285e3

View file

@ -49,7 +49,7 @@ use crate::{Assist, AssistId, GroupLabel, ResolvedAssist};
/// easier to just compute the edit eagerly :-)
pub(crate) struct AssistContext<'a> {
pub(crate) sema: Semantics<'a, RootDatabase>,
pub(super) db: &'a RootDatabase,
pub(crate) db: &'a RootDatabase,
pub(crate) frange: FileRange,
source_file: SourceFile,
}