bors[bot] 14e19c0df1
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 😄 



Co-authored-by: Martin Asquino <martin.asquino@gmail.com>
2019-11-06 21:11:42 +00:00
..
2019-11-06 21:11:42 +00:00
2019-10-29 12:16:55 -04:00
2019-10-08 14:52:03 +03:00
2019-11-04 01:14:17 +03:00
2019-11-04 01:14:17 +03:00
2019-09-10 13:32:47 +08:00
2019-10-22 23:47:31 +03:00
2019-10-30 13:11:38 +03:00
2019-10-05 17:03:03 +03:00
2019-10-25 12:04:17 +03:00
2019-10-08 21:14:52 +03:00
2019-10-30 13:11:38 +03:00
2019-10-30 16:09:16 -04:00
2019-10-22 23:47:31 +03:00
2019-10-30 13:36:37 -04:00