aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | Even if jemalloc feature is used do not use it on msvckjeremy2019-11-143-20/+22
| | | | | | | | Fixes #2233
* | Move body queries to hir_defAleksey Kladov2019-11-1412-75/+110
| |
* | Simplify parsingAleksey Kladov2019-11-142-19/+19
| |
* | Move scopes to hir_defAleksey Kladov2019-11-147-368/+360
| |
* | Slightly better namingAleksey Kladov2019-11-142-10/+7
| |
* | Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-146-48/+62
| |
* | Move expansion to ExpanderAleksey Kladov2019-11-142-27/+41
| |
* | Move parse_path to ExpanderAleksey Kladov2019-11-142-10/+10
| |
* | Expansion stack scaffoldAleksey Kladov2019-11-142-8/+38
| |
* | Add Expader::to_sourceAleksey Kladov2019-11-142-10/+8
| |
* | Move original_file to ExpanderAleksey Kladov2019-11-142-9/+11
| |
* | Rename MacroResolver -> ExpanderAleksey Kladov2019-11-143-29/+25
| |
* | Move current file to MacroResolverAleksey Kladov2019-11-143-21/+27
| |
* | Reduce visibilityAleksey Kladov2019-11-141-5/+1
| |
* | Normalize dataAleksey Kladov2019-11-141-14/+9
| | | | | | | | No need to store derivable info
* | Make make:: builders slightly more convenientAleksey Kladov2019-11-132-9/+12
| |
* | Use strongly-typed ast building for early-return assistAleksey Kladov2019-11-132-45/+102
| |
* | Add a bit of typesAleksey Kladov2019-11-131-5/+5
| |
* | Minor cleanupAleksey Kladov2019-11-131-19/+20
| |
* | Reduce duplication between uncertain floats & intsAleksey Kladov2019-11-137-70/+55
| |
* | Merge #2223bors[bot]2019-11-128-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 docsAleksey Kladov2019-11-121-0/+2
| | |
| * | Drop obsolete commentAleksey Kladov2019-11-121-4/+0
| | |
| * | Move expression lowering to hir_defAleksey Kladov2019-11-127-732/+767
| | |
* | | Merge #2217bors[bot]2019-11-123-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 importMetabaron2019-11-121-1/+1
| | |
| * | return Error instead of panicking in from_cargo_metadataMetabaron2019-11-122-10/+16
| | |
| * | Implement FromStr for enum EditionMetabaron2019-11-123-8/+14
| | |
* | | Remove owner from BodyAleksey Kladov2019-11-125-28/+19
| | |
* | | Disallow regressing crate docsAleksey Kladov2019-11-122-4/+6
| | |
* | | Move definition of exprs to hir_defAleksey Kladov2019-11-1210-518/+598
|/ /
* | Minor refactoringAleksey Kladov2019-11-122-21/+32
| |
* | Minor cleanupAleksey Kladov2019-11-126-47/+44
| |
* | fix typoGreg2019-11-121-1/+1
| |
* | Implement postfix completions feature flagGreg2019-11-122-0/+5
| |
* | Introduce hir::GenericParamAleksey Kladov2019-11-114-9/+19
| | | | | | | | Unlike existing hir::GenericParams, this is a global ID.
* | Don't reexport generics from HIRAleksey Kladov2019-11-115-12/+13
| |
* | Merge #2200bors[bot]2019-11-1114-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::LocalAleksey Kladov2019-11-1114-173/+171
| | |
* | | Merge #2205bors[bot]2019-11-119-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 MacroDefKindEdwin Cheng2019-11-116-51/+29
| | |
| * | Add line macro and testsEdwin Cheng2019-11-113-7/+84
| | |
| * | Add quote macroEdwin Cheng2019-11-112-0/+262
| | |
| * | Add basic bultin macro infrastructureEdwin Cheng2019-11-118-29/+148
| | |
* | | Refactor highlighting to use classify_nameAleksey Kladov2019-11-111-72/+73
| | |
* | | Introduce ToNav traitAleksey Kladov2019-11-117-177/+200
| | |
* | | impl fmt::Display for BuiltinTypeAleksey Kladov2019-11-112-6/+34
| | |
* | | Merge #2203bors[bot]2019-11-111-19/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2203: Hover for builtins r=matklad a=kjeremy Fixes #2192 Co-authored-by: Jeremy Kolb <[email protected]>
| * | | Hover for builtinsJeremy Kolb2019-11-101-19/+31
| | |/ | |/|
* | | Forbid visibility qualifiers in traitsAleksey Kladov2019-11-114-1/+131
| | |