Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Paper over #8931 a bit more | Florian Diebold | 2021-05-23 | 1 | -2/+3 |
| | | | | | | | | | The problem was the skipping of binders in `resolve_method_call_as_callable`; this still doesn't use the _correct_ substitution, but at least it doesn't return a type with free variables in it. Fixes #8931. | ||||
* | Support goto_type_definition for types | Lukas Tobias Wirth | 2021-05-06 | 1 | -0/+12 |
| | |||||
* | hir_ty: deal with TypeRef::Macro in HirFormatter | cynecx | 2021-04-17 | 1 | -3/+2 |
| | |||||
* | hir_ty: Expand macros at type position | cynecx | 2021-04-17 | 1 | -1/+3 |
| | |||||
* | Hide Binders internals more | Florian Diebold | 2021-04-05 | 1 | -2/+2 |
| | |||||
* | Resolve associated types | Lukas Wirth | 2021-04-01 | 1 | -2/+4 |
| | |||||
* | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | Track labels in scopes | Lukas Wirth | 2021-03-21 | 1 | -0/+4 |
| | |||||
* | Make `ItemTreeId` its own type | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | 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 HIR | Lukas Wirth | 2021-03-16 | 1 | -0/+1 |
| | | |||||
* | | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
|/ | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -6/+24 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Return multiple modules in `parent_module` | Lukas Wirth | 2021-03-15 | 1 | -2/+6 |
| | |||||
* | Remove useless code_model indirection | Aleksey Kladov | 2021-03-08 | 1 | -3/+2 |
| | |||||
* | For unresolved macros, hightlight only the last segment | Aleksey Kladov | 2021-02-28 | 1 | -5/+3 |
| | |||||
* | Wrap `BuiltinType` in code model | Jonas Schievink | 2021-02-11 | 1 | -1/+1 |
| | |||||
* | Show const params in completions | Lukas Wirth | 2021-01-19 | 1 | -1/+1 |
| | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 1 | -0/+1 |
| | |||||
* | Add ConstParams to the HIR | Lukas Wirth | 2021-01-01 | 1 | -4/+8 |
| | |||||
* | Track labels in the HIR | Lukas Wirth | 2020-12-24 | 1 | -3/+30 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -2/+2 |
| | |||||
* | Rename ImplDef -> Impl | Aleksey Kladov | 2020-12-17 | 1 | -3/+3 |
| | | | | | | We used to have `Def` suffix for all symbols, but we moved off from that. `FunctionDef` isn't better than `Function`. Looks like we've forgot to change `Impl` though! | ||||
* | Node-ify lifetimes | Lukas Wirth | 2020-12-16 | 1 | -11/+6 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -1/+1 |
| | |||||
* | Add LifetimeParam resolving to Semantics | Lukas Wirth | 2020-12-14 | 1 | -6/+45 |
| | |||||
* | Improve code structure | Aleksey Kladov | 2020-12-11 | 1 | -24/+22 |
| | | | | | Make sure that there's only one entry point, analyze, remove awkard analyzer2 name | ||||
* | Make `original_range` a method on `InFile<&SyntaxNode>` | Jonas Schievink | 2020-12-08 | 1 | -72/+4 |
| | |||||
* | Apply suggestions from code review | Aleksey Kladov | 2020-09-21 | 1 | -5/+5 |
| | | | Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
* | Document SemanticScope | Aleksey Kladov | 2020-09-21 | 1 | -0/+19 |
| | |||||
* | Rename record_field_pat to record_pat_field | Pavan Kumar Sunkara | 2020-09-10 | 1 | -4/+4 |
| | |||||
* | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 1 | -44/+2 |
| | |||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 1 | -5/+7 |
| | |||||
* | Minor cleanups | Aleksey Kladov | 2020-08-19 | 1 | -7/+6 |
| | |||||
* | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -2/+44 |
| | | | | | | | 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 | 1 | -2/+2 |
| | | | | `consuming`. | ||||
* | Don't expose hir::Path out of hir | Aleksey Kladov | 2020-08-15 | 1 | -34/+3 |
| | | | | | | | | | | | | | | 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 | ||||
* | Rename hypothetical -> speculative | Aleksey Kladov | 2020-08-14 | 1 | -5/+4 |
| | |||||
* | Make hygiene private to hir | Aleksey Kladov | 2020-08-13 | 1 | -3/+13 |
| | |||||
* | Rename ra_hir -> hir | Aleksey Kladov | 2020-08-13 | 1 | -0/+840 |