mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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
@ -28,8 +28,8 @@ macro_rules! impl_froms {
|
||||
|
||||
mod semantics;
|
||||
pub mod db;
|
||||
pub mod source_analyzer;
|
||||
pub mod source_binder;
|
||||
mod source_analyzer;
|
||||
mod source_binder;
|
||||
|
||||
pub mod diagnostics;
|
||||
|
||||
|
@ -26,7 +26,7 @@ use ra_prof::profile;
|
||||
/// Primary API to get semantic information, like types, from syntax trees.
|
||||
pub struct Semantics<'db, DB> {
|
||||
pub db: &'db DB,
|
||||
pub(crate) sb: RefCell<SourceBinder>,
|
||||
sb: RefCell<SourceBinder>,
|
||||
cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user