Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle `Self` in values and patterns | Florian Diebold | 2020-05-15 | 1 | -0/+1 |
| | | | | | | | | | I.e. - `Self(x)` or `Self` in tuple/unit struct impls - `Self::Variant(x)` or `Self::Variant` in enum impls - the same in patterns Fixes #4454. | ||||
* | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -1/+2 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -11/+11 |
| | |||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -9/+9 |
| | |||||
* | Fix goto definition for record patterns | Aleksey Kladov | 2020-04-18 | 1 | -0/+11 |
| | |||||
* | Don't use SyntaxNodePtr::range when determining scope for offset | Aleksey Kladov | 2020-04-17 | 1 | -47/+52 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-04-11 | 1 | -4/+2 |
| | |||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -16/+14 |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | add record pat missing field diagnostic | Josh Mcguigan | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Move computation of missing fields into hir | Aleksey Kladov | 2020-04-07 | 1 | -20/+70 |
| | |||||
* | Always expand macros during analysis | Aleksey Kladov | 2020-03-25 | 1 | -18/+26 |
| | |||||
* | ra_hir: add more privacy for Type | veetaha | 2020-03-23 | 1 | -9/+3 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -42/+47 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Source map returns a result | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 |
| | | | | cc #2236 | ||||
* | Move PathResolution | Aleksey Kladov | 2020-03-05 | 1 | -15/+2 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-03-05 | 1 | -7/+1 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2020-03-04 | 1 | -16/+14 |
| | |||||
* | Remove old find refs infra | Aleksey Kladov | 2020-03-04 | 1 | -34/+1 |
| | |||||
* | More principled approach for gotodef for field shorhand | Aleksey Kladov | 2020-03-02 | 1 | -8/+19 |
| | | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local. | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Fix highlighting of const patterns | Aleksey Kladov | 2020-02-28 | 1 | -5/+26 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-02-26 | 1 | -24/+8 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -121/+73 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -3/+2 |
| | |||||
* | Introduce AsMacroCall trait | Edwin Cheng | 2020-02-17 | 1 | -10/+6 |
| | |||||
* | Add impl trait lowering mode | Florian Diebold | 2020-02-07 | 1 | -2/+1 |
| | |||||
* | Introduce TyLoweringContext | Florian Diebold | 2020-02-07 | 1 | -2/+7 |
| | |||||
* | Typos | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Store DB in SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Introduce SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -98/+42 |
| | |||||
* | Move Type API to type | Aleksey Kladov | 2020-01-14 | 1 | -62/+8 |
| | |||||
* | Push resolver further up | Aleksey Kladov | 2020-01-14 | 1 | -2/+16 |
| | |||||
* | Move impls_future to Type, where it belongs | Aleksey Kladov | 2020-01-14 | 1 | -23/+1 |
| | |||||
* | Use lang-items to resolve future trait | Aleksey Kladov | 2020-01-14 | 1 | -10/+9 |
| | |||||
* | Move utility functions down | Aleksey Kladov | 2020-01-14 | 1 | -58/+58 |
| | |||||
* | Rename file | Aleksey Kladov | 2020-01-14 | 1 | -0/+569 |