mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Merge #3369
3369: Reduce visibility r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
d2bf2adc27
2 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@ macro_rules! impl_froms {
|
||||||
|
|
||||||
mod semantics;
|
mod semantics;
|
||||||
pub mod db;
|
pub mod db;
|
||||||
pub mod source_analyzer;
|
mod source_analyzer;
|
||||||
pub mod source_binder;
|
mod source_binder;
|
||||||
|
|
||||||
pub mod diagnostics;
|
pub mod diagnostics;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ use ra_prof::profile;
|
||||||
/// Primary API to get semantic information, like types, from syntax trees.
|
/// Primary API to get semantic information, like types, from syntax trees.
|
||||||
pub struct Semantics<'db, DB> {
|
pub struct Semantics<'db, DB> {
|
||||||
pub db: &'db DB,
|
pub db: &'db DB,
|
||||||
pub(crate) sb: RefCell<SourceBinder>,
|
sb: RefCell<SourceBinder>,
|
||||||
cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>,
|
cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue