aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/attr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove map module from la-arena public APIAramis Razzaghipour2021-01-151-1/+1
| | | | | | It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private.
* prepare to publish el libro de arenaAleksey Kladov2021-01-141-1/+1
|
* Introduce new queries to computeDaniel Frampton2021-01-051-10/+46
| | | | | | | | 1) the set of attributes for all variants of an enum, and 2) the set of attributes for all fields of a variant. This avoids the current n^2 behavior when rendering completion for variants, which prevents completion for enums with large numbers of variants.
* Merge #7128bors[bot]2021-01-031-1/+20
|\ | | | | | | | | | | | | | | 7128: Implement HasAttrs for GenericParam r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
| * Impl HasAttrs for GenericParamLukas Wirth2021-01-011-1/+20
| |
* | Use fully qualified `Itertools::intersperse` call to silence nightly ↵cynecx2021-01-021-8/+7
|/ | | | warnings about a potential name collision due to recent libstd api additions
* Add API for mapping `Attr` back to its syntax nodeJonas Schievink2020-12-191-23/+55
|
* Make `RawAttrs` crate-privateJonas Schievink2020-12-191-2/+2
| | | | There should be no need to use this from outside
* Remove `Attrs::merge`Jonas Schievink2020-12-191-12/+0
| | | | Only the `RawAttrs` version of this is in use
* Remove resolved FIXMEJonas Schievink2020-12-191-1/+0
|
* More accurate `#[derive]` parsingJonas Schievink2020-12-191-3/+43
| | | | This now allows full paths to the derive macro
* Hit a markJonas Schievink2020-12-181-0/+3
|
* Fix parsing of active cfg_attrJonas Schievink2020-12-181-2/+2
|
* Implement `RawAttr::filter`Jonas Schievink2020-12-181-3/+61
|
* Refactor attributes API to allow handling cfg_attrJonas Schievink2020-12-181-53/+93
|
* Make `Attrs::from_attrs_owner` privateJonas Schievink2020-12-171-1/+1
|
* Use Attrs::docs in NavigationTarget instead of DocCommentsOwnerLukas Wirth2020-12-111-1/+1
|
* Use Attrs::docs in runnables instead of DocCommentsOwnerLukas Wirth2020-12-111-3/+3
|
* Properly fetch inner and outer docs on hir-levelLukas Wirth2020-12-091-17/+25
|
* Properly fetch inner and outer attributes on hir-levelLukas Wirth2020-12-081-5/+39
|
* Escape string literals in Attr::from_srcLukas Wirth2020-12-081-11/+5
|
* Replace Arc<[str]> with String in attr::DocumentationLukas Wirth2020-12-071-2/+2
|
* Keep doc attribute orderLukas Wirth2020-12-071-14/+26
|
* Remove raw pre and suffixes from string attr literalsLukas Wirth2020-12-071-2/+5
|
* Remove hir_def/docs.rs moduleLukas Wirth2020-12-071-3/+22
|
* Remove documentation queryLukas Wirth2020-12-071-0/+16
|
* Emit better #[cfg] diagnosticsJonas Schievink2020-10-221-3/+11
|
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-131-0/+212