Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename record_field_pat to record_pat_field | Pavan Kumar Sunkara | 2020-09-10 | 2 | -6/+6 |
| | |||||
* | Tease apart orthogonal concerns in markdown link rewriting | Aleksey Kladov | 2020-08-26 | 5 | -321/+65 |
| | | | | | | | | | | | | `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 code | Aleksey Kladov | 2020-08-25 | 2 | -34/+43 |
| | |||||
* | Remove AttrDef | Aleksey Kladov | 2020-08-25 | 4 | -66/+52 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-08-25 | 1 | -6/+6 |
| | |||||
* | Move attrs from code_module to a separate module | Aleksey Kladov | 2020-08-25 | 3 | -126/+140 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-25 | 1 | -9/+6 |
| | |||||
* | Use the same abstraction for attrs and docs | Aleksey Kladov | 2020-08-25 | 2 | -9/+4 |
| | | | | | Doc comments *are* attributes, so there's no reason to have two crates here. | ||||
* | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-25 | 1 | -8/+9 |
|\ | |||||
| * | Add description for crates that will be published | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 |
| | | |||||
| * | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 1 | -7/+7 |
| | | |||||
* | | Changes from review | Zac Pullar-Strecker | 2020-08-25 | 2 | -18/+23 |
| | | |||||
* | | Renames, comments, and dead code removal | Zac Pullar-Strecker | 2020-08-24 | 3 | -22/+5 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-24 | 4 | -4/+353 |
|/ | |||||
* | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 3 | -46/+14 |
| | |||||
* | Introduce hir::Param | Aleksey Kladov | 2020-08-19 | 1 | -2/+11 |
| | | | | | We generally shouldn't expose TypeRef out of hir. So, let's just use a placehoder here. | ||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 3 | -24/+49 |
| | |||||
* | Minor cleanups | Aleksey Kladov | 2020-08-19 | 1 | -7/+6 |
| | |||||
* | Merge #5643 | bors[bot] | 2020-08-19 | 3 | -5/+62 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5643: Add new consuming modifier, apply consuming and mutable to methods r=matklad a=Nashenas88 This adds a new `consuming` semantic modifier for syntax highlighters. This also emits `mutable` and `consuming` in two cases: - When a method takes `&mut self`, then it now has `function.mutable` emitted. - When a method takes `self`, and the type of `Self` is not `Copy`, then `function.consuming` is emitted. CC @flodiebold Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 2 | -3/+45 |
| | | | | | | | | | | | | | | self The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage. | ||||
| * | Mark mutating functions with `mutable` modifier, and owning functions with ↵ | Paul Daniel Faria | 2020-08-16 | 2 | -2/+17 |
| | | | | | | | | `consuming`. | ||||
* | | Merge remote-tracking branch 'rust-analyzer/master' | Dmitry | 2020-08-18 | 4 | -45/+14 |
|\| | |||||
| * | Don't expose hir::Path out of hir | Aleksey Kladov | 2020-08-15 | 4 | -45/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conjecture: it's impossible to use hir::Path *correctly* from an IDE. I am not entirely sure about this, and we might need to add it back at some point, but I have to arguments that convince me that we probably won't: * `hir::Path` has to know about hygiene, which an IDE can't set up properly. * `hir::Path` lacks identity, but you actually have to know identity to resolve it correctly | ||||
* | | synchronizing changes | Dmitry | 2020-08-14 | 1 | -1/+1 |
|/ | |||||
* | Rename hypothetical -> speculative | Aleksey Kladov | 2020-08-14 | 1 | -5/+4 |
| | |||||
* | Make hygiene private to hir | Aleksey Kladov | 2020-08-13 | 3 | -5/+26 |
| | |||||
* | Rename ra_hir -> hir | Aleksey Kladov | 2020-08-13 | 10 | -0/+3853 |