aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #7433bors[bot]2021-01-264-89/+228
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7433: Support Macro v2 in mbe r=jonas-schievink a=edwin0cheng Added `mbe::MacroDef` for Macro v2. cc @jonas-schievink Co-authored-by: Edwin Cheng <[email protected]>
| * | | Support Macro v2 in mbeEdwin Cheng2021-01-254-89/+228
| | |/ | |/|
* | | Merge #7393bors[bot]2021-01-261-1/+50
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7393: Document `paths` items r=matklad a=arnaudgolfouse Co-authored-by: Arnaud <[email protected]>
| * | | Document `paths` itemsArnaud2021-01-221-1/+50
| | | |
* | | | Merge #7406bors[bot]2021-01-264-22/+106
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 7406: if_let_match: don't assume happy path r=matklad a=bugadani Closes #7392 Co-authored-by: Dániel Buga <[email protected]>
| * | | Deduplicate variant matchingDániel Buga2021-01-223-42/+25
| | | |
| * | | replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-222-2/+103
| | | |
* | | | Shorten hir::TypeParam full_range in NavigationTargetLukas Wirth2021-01-262-4/+23
| | | |
* | | | Traverse parent DefMap for `super` pathsJonas Schievink2021-01-252-9/+54
| | | |
* | | | Intern block locations and handle them in ModuleIdJonas Schievink2021-01-255-65/+104
| |_|/ |/| |
* | | Merge #7426bors[bot]2021-01-2511-87/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7426: Create all `ModuleId`s through a `DefMap` method r=jonas-schievink a=jonas-schievink `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId` bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Create all `ModuleId`s through a `DefMap` methodJonas Schievink2021-01-2511-87/+48
| | | | | | | | | | | | | | | | | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId`
* | | | Derive Default on ItemTreeLaurențiu Nicola2021-01-252-12/+3
|/ / /
* | | Merge #7422bors[bot]2021-01-251-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7422: Disallow non-boolean literals in concat! r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Disallow non-boolean literals in concat!Laurențiu Nicola2021-01-251-2/+4
| | | |
| | | |
| \ \ \
*-. \ \ \ Merge #7409 #7421bors[bot]2021-01-252-33/+44
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7409: Add References CodeLens. r=matklad a=vsrs Closes #5836 7421: Fix RA_LOG example in dev docs r=lnicola a=lnicola bors r+ Co-authored-by: vsrs <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Add References code lens.vsrs2021-01-232-33/+44
| | | | | | | | | | | | | | | | | | | | For Struct, Enum, Union and Trait symbols.
* | | | | Unquote strings and handle boolean literals in concat!Laurențiu Nicola2021-01-251-16/+8
| |/ / / |/| | |
* | | | :arrow_up: rowanAleksey Kladov2021-01-252-2/+2
| | | |
* | | | Merge #7414bors[bot]2021-01-246-25/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7414: Add validation for mutable const items r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | | Add validation for mutable const itemsLukas Wirth2021-01-246-25/+40
| |/ / /
* / / / Support unions in symbol searchLukas Wirth2021-01-243-7/+11
|/ / /
* | | Remove use of SourceFileEditPhil Ellison2021-01-231-2/+1
| | |
* | | Update tests to register the required standard library typesPhil Ellison2021-01-232-16/+48
| | |
* | | Fix test namesPhil Ellison2021-01-231-4/+4
| | |
* | | Identify methods using functions ids rather than string namesPhil Ellison2021-01-233-7/+31
| | |
* | | cargo fmtPhil Ellison2021-01-231-1/+5
| | |
* | | Address review commentsPhil Ellison2021-01-231-9/+4
| | |
* | | cargo fmtPhil Ellison2021-01-231-2/+7
| | |
* | | Implement fix, add testsPhil Ellison2021-01-234-55/+66
| | |
* | | Add diagnostic for filter_map followed by nextPhil Ellison2021-01-235-15/+150
| | |
* | | Merge #7391bors[bot]2021-01-232-0/+24
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 7391: Fix error when using "extern crate self as" r=kazatsuyu a=kazatsuyu Fix #6957 Co-authored-by: kazatsuyu <[email protected]>
| * | Add mark::check! and mark::hit!kazatsuyu2021-01-222-0/+2
| | |
| * | cargo fmtkazatsuyu2021-01-221-2/+3
| | |
| * | Fix error when using "extern crate self as"kazatsuyu2021-01-222-0/+21
| | |
* | | Merge #7399bors[bot]2021-01-2210-38/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7399: Make `ModuleId`'s `krate` field private and audit uses r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Make `ModuleId`'s `krate` field privateJonas Schievink2021-01-2210-38/+62
| | | |
* | | | stave off zombiesAleksey Kladov2021-01-221-0/+1
|/ / /
* | | Normalize testsAleksey Kladov2021-01-221-45/+37
| | |
* | | More useful fn detail in completionAleksey Kladov2021-01-229-93/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detail should be rendered as shtort one line, just dumping fn header there is not useful, despite the fact that TS does this. The fact that this is a function should be indicated by the icon, the same goes for pub/const/async etc qualitfiers name is already present in the lable (and arg list should be a part of that, as in idea) But the return type is the small genuinerlly useful bit of info we can show here
* | | Make assertion failures more annoying for maintainersAleksey Kladov2021-01-221-1/+6
| | |
| | |
| \ \
*-. \ \ Merge #7310 #7395bors[bot]2021-01-2217-32/+292
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7310: Add assist: add lifetime to type r=matklad a=bnjjj close #7200 7395: Obtain `ModuleId`'s `DefMap` through a method r=jonas-schievink a=jonas-schievink Once `ModuleId` can represent modules inside block expressions, this will be required in order to obtain the correct `DefMap`. Otherwise existing code might use a `LocalModuleId` from the wrong `DefMap` and cause a panic. bors r+ Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: Jonas Schievink <[email protected]>
| | * | | Obtain `ModuleId`'s `DefMap` through a methodJonas Schievink2021-01-2214-32/+43
| | | |/ | | |/|
| * | | Add assist: add lifetime to type #7200Benjamin Coenen2021-01-212-18/+23
| | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * | | Add assist: add lifetime to type #7200Benjamin Coenen2021-01-181-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * | | Add assist: add lifetime to type #7200Benjamin Coenen2021-01-173-0/+238
| | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | | | Merge #7353bors[bot]2021-01-2223-164/+225
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7353: Add LifetimeParam and ConstParam to CompletionItemKind r=matklad a=Veykril Adds `LifetimeParam` and `ConstParam` to `CompletionItemKind` and maps them both to `TypeParam` in the protocol conversion as there are no equivalents, so nothing really changes there. `ConstParam` could be mapped to `Const` I guess but I'm split on whether that would be better? Additions were solely inspired by (the single) test output for const params. Also sorts the variants of `CompletionItemKind` and its to_proto match. Co-authored-by: Lukas Wirth <[email protected]>
| * | | Update completions test outputLukas Wirth2021-01-203-36/+66
| | | |
| * | | Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-2013-108/+126
| | | |
| * | | Move SymbolKind to ide_dbLukas Wirth2021-01-2011-37/+40
| | | |