mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Auto merge of #16707 - regexident:pub-sema-impl, r=Veykril
Export `SemanticsImpl` from `ra_ap_hir` crate, since it's already exposed via `Semantics.deref()` The `SemanticsImpl` type is already de-facto exposed via `<Semantics as Deref>::Target`. By not being part of the public crate interface it however doesn't get included in the documentation, resulting in a massive blind spot when it comes to `ra_ap_hir`'s type resolution APIs.
This commit is contained in:
commit
9efa23c4da
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ pub use crate::{
|
||||||
diagnostics::*,
|
diagnostics::*,
|
||||||
has_source::HasSource,
|
has_source::HasSource,
|
||||||
semantics::{
|
semantics::{
|
||||||
DescendPreference, PathResolution, Semantics, SemanticsScope, TypeInfo, VisibleTraits,
|
DescendPreference, PathResolution, Semantics, SemanticsImpl, SemanticsScope, TypeInfo,
|
||||||
|
VisibleTraits,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue