aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'refs/heads/master' into feature/granular-scopesOmer Ben-Amram2019-12-1429-331/+494
|\
| * Merge #2554bors[bot]2019-12-1418-235/+223
| |\ | | | | | | | | | | | | | | | | | | | | | 2554: Add macros for known names and paths r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| | * Use path macroFlorian Diebold2019-12-134-80/+49
| | |
| | * Rename N! to name!Florian Diebold2019-12-1316-63/+63
| | |
| | * Add macros for known names and pathsFlorian Diebold2019-12-1316-173/+192
| | |
| * | Merge #2548bors[bot]2019-12-148-21/+125
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2548: Support setting cargo features and resolve `default` features by default r=matklad a=oxalica Fixes #2524 Co-authored-by: oxalica <[email protected]>
| | * | Enable `allFeatures` by default and fix lintsoxalica2019-12-132-10/+17
| | | |
| | * | Support setting cargo featuresoxalica2019-12-138-21/+118
| | | |
| * | | Merge #2557bors[bot]2019-12-131-19/+16
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2557: Remove some unwraps in add_new r=flodiebold a=kjeremy I think this file could probably be simplified a little more but this at least gets me around the panic. Fixes #2556 Co-authored-by: kjeremy <[email protected]>
| | * | Remove some unwraps in add_newkjeremy2019-12-131-19/+16
| |/ /
| * | Merge #2555bors[bot]2019-12-131-0/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2555: LSP 3.15 supports the deprecated tag on completions r=matklad a=kjeremy So let's set it. Co-authored-by: kjeremy <[email protected]>
| | * | LSP 3.15 supports the deprecated tag on completionskjeremy2019-12-131-0/+5
| |/ /
| * | Merge #2550bors[bot]2019-12-135-70/+139
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2550: Infer - and ! using std::ops::{Neg, Not} r=flodiebold a=kiljacken Found some low hanging fruit while taking a cursory look at index inferring. Co-authored-by: Emil Lauridsen <[email protected]>
| | * | Correctly infer - and ! using std::ops::{Neg,Not}Emil Lauridsen2019-12-135-23/+114
| | | |
| | * | Add helper for resolving associated type of trait in inferEmil Lauridsen2019-12-132-47/+25
| | | |
* | | | removed `type.alias`Omer Ben-Amram2019-12-144-14/+28
| | | |
* | | | added decorationsOmer Ben-Amram2019-12-143-3/+63
| | | |
* | | | scopes resolution is more granularOmer Ben-Amram2019-12-131-8/+12
|/ / /
* | | Merge #2551bors[bot]2019-12-138-44/+42
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2551: Refactor tt::Subtree delimiter r=matklad a=edwin0cheng Refactor to : ``` #[derive(Debug, Clone, PartialEq, Eq, Hash, Default)] pub struct Subtree { pub delimiter: Option<Delimiter>, pub token_trees: Vec<TokenTree>, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum Delimiter { Parenthesis, Brace, Bracket, } ``` Co-authored-by: Edwin Cheng <[email protected]>
| * | Refactor tt::DelimiterEdwin Cheng2019-12-138-44/+42
|/ /
* | Merge #2544bors[bot]2019-12-131-17/+36
|\ \ | |/ |/| | | | | | | | | | | 2544: Map first and last tokens in original_range r=matklad a=edwin0cheng This PR try to fix the first part of the `original_range` : Try to map the first token and last token of a `SyntaxNode` , If success, return the union range of mapped tokens. Co-authored-by: Edwin Cheng <[email protected]>
| * Map first and last node in original_rangeEdwin Cheng2019-12-121-17/+36
| |
* | Merge #2543bors[bot]2019-12-122-106/+119
|\ \ | | | | | | | | | | | | | | | | | | | | | 2543: Move use tree lowering to a separate module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Correct obsolete commentAleksey Kladov2019-12-121-2/+1
| | |
| * | Move use tree lowering to a separate moduleAleksey Kladov2019-12-122-104/+118
|/ /
* | Merge #2540bors[bot]2019-12-122-78/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | 2540: Dedupe from_source impls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Dedupe from_source implsAleksey Kladov2019-12-122-78/+35
| | |
* | | Merge #2539bors[bot]2019-12-1218-233/+276
|\| | | | | | | | | | | | | | | | | | | | | | | 2539: Remove old location infra r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove old location infraAleksey Kladov2019-12-122-63/+6
| | |
| * | Move enum&union to new locAleksey Kladov2019-12-1214-79/+123
| | |
| * | Move structs to new locAleksey Kladov2019-12-1214-30/+66
| | |
| * | Simplify from_sourceAleksey Kladov2019-12-121-49/+34
| | |
| * | Move traits to the new locAleksey Kladov2019-12-1216-35/+70
| | |
* | | Merge #2537bors[bot]2019-12-1216-32/+69
|\| | | | | | | | | | | | | | | | | | | | | | | 2537: Switch to the new location for impls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Switch to the new location for implsAleksey Kladov2019-12-1216-32/+69
| | |
* | | Merge #2536bors[bot]2019-12-121-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | 2536: Avoid recompiling serde r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Avoid recompiling serdeAleksey Kladov2019-12-121-3/+4
| | |
* | | Merge #2535bors[bot]2019-12-121-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 2535: Do not trigger signature help on close r=matklad a=kjeremy Brings us in line with TS. Context: https://github.com/rust-analyzer/rust-analyzer/issues/2532#issuecomment-564994368 Co-authored-by: Jeremy Kolb <[email protected]>
| * | Do not trigger signature help on closeJeremy Kolb2019-12-121-1/+1
|/ /
* | Merge #2530bors[bot]2019-12-116-8/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | 2530: Update lsp-types more r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Update lsp-types moreAleksey Kladov2019-12-112-4/+4
| | |
| * | Revert "Revert "Support LSP 3.15""Aleksey Kladov2019-12-116-8/+36
|/ / | | | | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f.
* | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
* | Merge #2528bors[bot]2019-12-110-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2528: Revert "Support LSP 3.15" r=matklad a=matklad Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | | | | | | | | | | | This reverts commit fcccf8ec59420d20edc53f7d787f2412e297f5fe. This causes rust-analyzer die immediatelly after startup
| * | Support LSP 3.15Jeremy Kolb2019-12-116-8/+36
| |/ | | | | | | This merely upgrades our protocol support. It does not add any of the new features.
* | Merge #2527bors[bot]2019-12-118-16/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2527: Enable tsc builtin lint options for vscode/extension r=matklad a=saneyuki * These options are not enabled by `--strict` option and these options make a code more solid. * https://www.typescriptlang.org/docs/handbook/compiler-options.html * For `noUnusedParameters` , we need to tweak tslint option to allow `_bar` style. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
| * | Enable noFallthroughCasesInSwitch option for vscode extensionTetsuharu OHZEKI2019-12-111-1/+2
| | |
| * | Enable noImplicitReturns option for vscode extensionTetsuharu OHZEKI2019-12-115-12/+20
| | |
| * | Enable noUnusedParameters option for vscode extensionTetsuharu OHZEKI2019-12-115-5/+8
|/ /