aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src/attrs.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add `AttrsWithOwner` and clean up `source_map`Jonas Schievink2021-03-191-4/+4
|
* Merge #8059bors[bot]2021-03-171-2/+3
|\ | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]>
| * Move doc-comment highlight injection from AST to HIRLukas Wirth2021-03-161-2/+3
| |
* | avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
|/ | | | example: let x: String = String::from("hello world").into();
* Fix broken link in intra-docDaiki Ihara2021-01-221-0/+6
|
* Implement HasAttrs for Type-, Const- and LifetimeParamLukas Wirth2021-01-021-9/+10
|
* Impl HasAttrs for GenericParamLukas Wirth2021-01-011-3/+10
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-3/+3
|
* Remove hir_def/docs.rs moduleLukas Wirth2020-12-071-1/+4
|
* Remove documentation queryLukas Wirth2020-12-071-1/+1
|
* Tease apart orthogonal concerns in markdown link rewritingAleksey Kladov2020-08-261-79/+54
| | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits.
* Remove monomorphisation from doclinks resolving codeAleksey Kladov2020-08-251-20/+21
|
* Remove AttrDefAleksey Kladov2020-08-251-39/+42
|
* SimplifyAleksey Kladov2020-08-251-6/+6
|
* Move attrs from code_module to a separate moduleAleksey Kladov2020-08-251-0/+132