Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: more natural order of sources for TypeParam | Aleksey Kladov | 2021-06-14 | 1 | -1/+1 |
| | | | | | We usually use first (left) variant of `Either` for "usual" case, and use right for odd things. For example, pat source is Pat | SelfParam. | ||||
* | Return `Either` from `MacroDefId::ast_id` | Jonas Schievink | 2021-03-19 | 1 | -10/+5 |
| | |||||
* | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 1 | -4/+11 |
| | |||||
* | Make MacroDefId's `AstId` mandatory when possible | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Obtain `ModuleId`'s `DefMap` through a method | Jonas Schievink | 2021-01-22 | 1 | -3/+3 |
| | |||||
* | Fix ConstParam HasSource impl and implement TryToNav not Nav | Nick Spain | 2021-01-02 | 1 | -2/+2 |
| | |||||
* | Remove old_source now we've fully migrated | Nick Spain | 2021-01-02 | 1 | -68/+0 |
| | | | | Fixes #6913 | ||||
* | Mark HasSource::source_old as deprecated but allow at all call sites | Nick Spain | 2021-01-02 | 1 | -0/+1 |
| | |||||
* | Implement new HasSource::source for all implementors of HasSource | Nick Spain | 2021-01-02 | 1 | -0/+66 |
| | |||||
* | HasSource::source -> HasSource::source_old | Nick Spain | 2021-01-02 | 1 | -15/+15 |
| | | | | To start migrating HasSource::source to return an Option. | ||||
* | Add ConstParams to the HIR | Lukas Wirth | 2021-01-01 | 1 | -2/+10 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -3/+3 |
| | |||||
* | 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! | ||||
* | Merge #6897 | bors[bot] | 2020-12-16 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 6897: Basic support for macros 2.0 r=jonas-schievink a=jonas-schievink This adds support for (built-in-only) macros 2.0, and removes some hacks used for builtin derives, which are declared via macros 2.0 in libcore. First steps for https://github.com/rust-analyzer/rust-analyzer/issues/2248. Blocked on https://github.com/rust-analyzer/ungrammar/pull/16. Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Basic support for decl macros 2.0 | Jonas Schievink | 2020-12-15 | 1 | -2/+2 |
| | | |||||
* | | Merge #6879 | bors[bot] | 2020-12-15 | 1 | -2/+2 |
|\ \ | |/ |/| | | | | | | | | | | | 6879: Change HasChildSource::ChildId assoc item to generic param r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Change HasChildSource::ChildId assoc item to generic param | Lukas Wirth | 2020-12-15 | 1 | -2/+2 |
| | | |||||
* | | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -2/+2 |
|/ | |||||
* | Add LifetimeParam resolving to Semantics | Lukas Wirth | 2020-12-14 | 1 | -3/+11 |
| | |||||
* | Remove more unreachable pubs | Aleksey Kladov | 2020-11-02 | 1 | -2/+1 |
| | |||||
* | synchronizing changes | Dmitry | 2020-08-14 | 1 | -1/+1 |
| | |||||
* | Rename ra_hir -> hir | Aleksey Kladov | 2020-08-13 | 1 | -0/+135 |