mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Record derive helper attributes, resolve them in IDE layer
This commit is contained in:
parent
4e60db2d07
commit
aa1491ecde
22 changed files with 144 additions and 58 deletions
|
@ -370,6 +370,8 @@ pub(super) fn definition(
|
|||
// FIXME: We should be able to show more info about these
|
||||
Definition::BuiltinAttr(it) => return render_builtin_attr(db, it),
|
||||
Definition::ToolModule(it) => return Some(Markup::fenced_block(&it.name(db))),
|
||||
// FIXME: it.name(db)
|
||||
Definition::DeriveHelper(_it) => ("derive-helper".to_owned(), None),
|
||||
};
|
||||
|
||||
let docs = match config.documentation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue