Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Even if jemalloc feature is used do not use it on msvc | kjeremy | 2019-11-14 | 3 | -20/+22 |
| | | | | Fixes #2233 | ||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 12 | -75/+110 |
| | |||||
* | Simplify parsing | Aleksey Kladov | 2019-11-14 | 2 | -19/+19 |
| | |||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 7 | -368/+360 |
| | |||||
* | Slightly better naming | Aleksey Kladov | 2019-11-14 | 2 | -10/+7 |
| | |||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 6 | -48/+62 |
| | |||||
* | Move expansion to Expander | Aleksey Kladov | 2019-11-14 | 2 | -27/+41 |
| | |||||
* | Move parse_path to Expander | Aleksey Kladov | 2019-11-14 | 2 | -10/+10 |
| | |||||
* | Expansion stack scaffold | Aleksey Kladov | 2019-11-14 | 2 | -8/+38 |
| | |||||
* | Add Expader::to_source | Aleksey Kladov | 2019-11-14 | 2 | -10/+8 |
| | |||||
* | Move original_file to Expander | Aleksey Kladov | 2019-11-14 | 2 | -9/+11 |
| | |||||
* | Rename MacroResolver -> Expander | Aleksey Kladov | 2019-11-14 | 3 | -29/+25 |
| | |||||
* | Move current file to MacroResolver | Aleksey Kladov | 2019-11-14 | 3 | -21/+27 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-14 | 1 | -5/+1 |
| | |||||
* | Normalize data | Aleksey Kladov | 2019-11-14 | 1 | -14/+9 |
| | | | | No need to store derivable info | ||||
* | Make make:: builders slightly more convenient | Aleksey Kladov | 2019-11-13 | 2 | -9/+12 |
| | |||||
* | Use strongly-typed ast building for early-return assist | Aleksey Kladov | 2019-11-13 | 2 | -45/+102 |
| | |||||
* | Add a bit of types | Aleksey Kladov | 2019-11-13 | 1 | -5/+5 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-13 | 1 | -19/+20 |
| | |||||
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 7 | -70/+55 |
| | |||||
* | Merge #2223 | bors[bot] | 2019-11-12 | 8 | -732/+765 |
|\ | | | | | | | | | | | | | | | 2223: Move expression lowering to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add helpful pointer to module docs | Aleksey Kladov | 2019-11-12 | 1 | -0/+2 |
| | | |||||
| * | Drop obsolete comment | Aleksey Kladov | 2019-11-12 | 1 | -4/+0 |
| | | |||||
| * | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 7 | -732/+767 |
| | | |||||
* | | Merge #2217 | bors[bot] | 2019-11-12 | 3 | -11/+23 |
|\ \ | |/ |/| | | | | | | | | | | | | | 2217: Implement FromStr for enum Edition r=matklad a=clemarescx Just did this as I came across the comment in the code asking for implementing `std::str::FromStr` for `input::Edition`. Not sure what was meant by "proper error handling" though, `panic!` with a descriptive message might not be it :sweat_smile: Co-authored-by: Metabaron <[email protected]> | ||||
| * | Fix unused import | Metabaron | 2019-11-12 | 1 | -1/+1 |
| | | |||||
| * | return Error instead of panicking in from_cargo_metadata | Metabaron | 2019-11-12 | 2 | -10/+16 |
| | | |||||
| * | Implement FromStr for enum Edition | Metabaron | 2019-11-12 | 3 | -8/+14 |
| | | |||||
* | | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 5 | -28/+19 |
| | | |||||
* | | Disallow regressing crate docs | Aleksey Kladov | 2019-11-12 | 2 | -4/+6 |
| | | |||||
* | | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 10 | -518/+598 |
|/ | |||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 2 | -21/+32 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 6 | -47/+44 |
| | |||||
* | fix typo | Greg | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Implement postfix completions feature flag | Greg | 2019-11-12 | 2 | -0/+5 |
| | |||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 4 | -9/+19 |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | ||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 5 | -12/+13 |
| | |||||
* | Merge #2200 | bors[bot] | 2019-11-11 | 14 | -173/+171 |
|\ | | | | | | | | | | | | | | | | | | | 2200: Add variables to HIR r=matklad a=matklad Introduce a `hir::Variable`, which should cover locals, parameters and `self`. Unlike `PatId`, variable knows it's owner so it is self-contained, and should be more convenient to use from `ra_ide_api`. The goal here is to hide more details about `Body` from hir, which should make it easier to move `Body` into `hir_def`. I don't think that `ra_ide_api` intrracts with bodies directly at the moment anyway, but the glue layer is based basically on `ast::BindPat`, which seems pretty brittle. Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add hir::Local | Aleksey Kladov | 2019-11-11 | 14 | -173/+171 |
| | | |||||
* | | Merge #2205 | bors[bot] | 2019-11-11 | 9 | -22/+458 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add MacroDefKind | Edwin Cheng | 2019-11-11 | 6 | -51/+29 |
| | | |||||
| * | Add line macro and tests | Edwin Cheng | 2019-11-11 | 3 | -7/+84 |
| | | |||||
| * | Add quote macro | Edwin Cheng | 2019-11-11 | 2 | -0/+262 |
| | | |||||
| * | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 8 | -29/+148 |
| | | |||||
* | | Refactor highlighting to use classify_name | Aleksey Kladov | 2019-11-11 | 1 | -72/+73 |
| | | |||||
* | | Introduce ToNav trait | Aleksey Kladov | 2019-11-11 | 7 | -177/+200 |
| | | |||||
* | | impl fmt::Display for BuiltinType | Aleksey Kladov | 2019-11-11 | 2 | -6/+34 |
| | | |||||
* | | Merge #2203 | bors[bot] | 2019-11-11 | 1 | -19/+31 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2203: Hover for builtins r=matklad a=kjeremy Fixes #2192 Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | Hover for builtins | Jeremy Kolb | 2019-11-10 | 1 | -19/+31 |
| | | | |||||
* | | | Forbid visibility qualifiers in traits | Aleksey Kladov | 2019-11-11 | 4 | -1/+131 |
| | | |