aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display/navigation_target.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-06 21:11:42 +0000
committerGitHub <[email protected]>2019-11-06 21:11:42 +0000
commit14e19c0df19eb4ce71bbd24114452157c65c8209 (patch)
tree3cf99a99d4e0238b60ab5b73941798b33f2eb778 /crates/ra_ide_api/src/display/navigation_target.rs
parentef988492ee8f9718fdde15cec6d96e4c4cfef3cf (diff)
parentcb3767f28a2f9e443b816b17d5d07b6a1cff90ab (diff)
Merge #2179
2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/display/navigation_target.rs')
0 files changed, 0 insertions, 0 deletions