diff options
| author | bors <bors@rust-lang.org> | 2024-02-29 15:12:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-29 15:12:04 +0000 |
| commit | 9efa23c4dacee88b93540632eb3d88c5dfebfe17 (patch) | |
| tree | 9b35646d65171941b035c065d2ab0bff8445badf | |
| parent | b3b9b53df8e644356a8d9596182a1c8c283b90e0 (diff) | |
| parent | 74531e4d80e7961260eb44c6e4e323804e1d042d (diff) | |
| download | rust-9efa23c4dacee88b93540632eb3d88c5dfebfe17.tar.gz rust-9efa23c4dacee88b93540632eb3d88c5dfebfe17.zip | |
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.
| -rw-r--r-- | crates/hir/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 944eca63543..5c607030167 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -93,7 +93,8 @@ pub use crate::{ diagnostics::*, has_source::HasSource, semantics::{ - DescendPreference, PathResolution, Semantics, SemanticsScope, TypeInfo, VisibleTraits, + DescendPreference, PathResolution, Semantics, SemanticsImpl, SemanticsScope, TypeInfo, + VisibleTraits, }, }; |
