Support doc links that resolve to fields

This commit is contained in:
Ryo Yoshida 2023-08-07 00:59:35 +09:00
parent 70fa270637
commit 0c433c23b1
No known key found for this signature in database
GPG key ID: E25698A930586171
5 changed files with 219 additions and 68 deletions

View file

@ -87,7 +87,7 @@ use triomphe::Arc;
use crate::db::{DefDatabase, HirDatabase};
pub use crate::{
attrs::{HasAttrs, Namespace},
attrs::{DocLinkDef, HasAttrs, Namespace},
diagnostics::{
AnyDiagnostic, BreakOutsideOfLoop, CaseType, ExpectedFunction, InactiveCode,
IncoherentImpl, IncorrectCase, InvalidDeriveTarget, MacroDefError, MacroError,