Skip to content

Commit 9efa23c

Browse files
committed
Auto merge of rust-lang#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.
2 parents b3b9b53 + 74531e4 commit 9efa23c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/hir/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ pub use crate::{
9393
diagnostics::*,
9494
has_source::HasSource,
9595
semantics::{
96-
DescendPreference, PathResolution, Semantics, SemanticsScope, TypeInfo, VisibleTraits,
96+
DescendPreference, PathResolution, Semantics, SemanticsImpl, SemanticsScope, TypeInfo,
97+
VisibleTraits,
9798
},
9899
};
99100

0 commit comments

Comments
 (0)