Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Simplify | Aleksey Kladov | 2019-11-24 | 8 | -33/+17 | |
| | | | ||||||
| * | | Cleanup nameres | Aleksey Kladov | 2019-11-24 | 5 | -35/+19 | |
| | | | ||||||
| * | | Use Trace in raw_items | Aleksey Kladov | 2019-11-24 | 3 | -29/+39 | |
| |/ | ||||||
* | | Merge #2381 | bors[bot] | 2019-11-24 | 3 | -1/+30 | |
|\ \ | |/ |/| | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]> | |||||
| * | add proc-macro crate type handling | JasperDeSutter | 2019-11-24 | 3 | -1/+30 | |
| | | ||||||
* | | Some docs | Aleksey Kladov | 2019-11-24 | 4 | -11/+18 | |
| | | ||||||
* | | Cleanup | Aleksey Kladov | 2019-11-24 | 7 | -20/+15 | |
| | | ||||||
* | | Reduce visibility | Aleksey Kladov | 2019-11-24 | 2 | -8/+11 | |
| | | ||||||
* | | Merge #2383 | bors[bot] | 2019-11-24 | 2 | -0/+10 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2383: Add alloc to the crate graph r=matklad a=marcogroppo `alloc` has been added to the crate graph. Completions work, but they are available even when the user has **not** declared an `extern crate alloc`. Is this the correct approach? Fixes #2376. Co-authored-by: Marco Groppo <[email protected]> | |||||
| * | | Add alloc to the sysroot | Marco Groppo | 2019-11-24 | 2 | -0/+10 | |
| |/ | ||||||
* | | Nicer API for attrs | Aleksey Kladov | 2019-11-24 | 4 | -32/+38 | |
| | | ||||||
* | | Slightly reduce code duplication | Aleksey Kladov | 2019-11-24 | 3 | -33/+30 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2019-11-24 | 2 | -19/+5 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2019-11-24 | 2 | -16/+3 | |
| | | ||||||
* | | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 13 | -28/+65 | |
| | | ||||||
* | | Remove ids module | Aleksey Kladov | 2019-11-24 | 6 | -41/+33 | |
| | | ||||||
* | | Pull macro up | Aleksey Kladov | 2019-11-24 | 3 | -28/+16 | |
| | | ||||||
* | | Cleanup imports | Aleksey Kladov | 2019-11-24 | 8 | -27/+20 | |
| | | ||||||
* | | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 2 | -25/+28 | |
| | | ||||||
* | | Reduce visbility | Aleksey Kladov | 2019-11-24 | 1 | -10/+10 | |
|/ | ||||||
* | Merge #2378 | bors[bot] | 2019-11-24 | 1 | -3/+6 | |
|\ | | | | | | | | | | | | | | | 2378: Fix panic in batch analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Fix panic in batch analysis | Aleksey Kladov | 2019-11-24 | 1 | -3/+6 | |
| | | | | | | | | Closes #2272 | |||||
* | | Merge #2365 | bors[bot] | 2019-11-24 | 1 | -9/+31 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2365: Make expand-macro more flexible r=matklad a=edwin0cheng Due to lack of implementation or other types of errors, some macros do not expand correctly in the current situation. The PR attempts to make `expand-macro` more flexible in error situations by ignoring internal failed macro expansion. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Improve fail case in expand_macro | Edwin Cheng | 2019-11-23 | 1 | -9/+31 | |
| | | | ||||||
* | | | Merge #2343 | bors[bot] | 2019-11-24 | 7 | -35/+155 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2343: implement assist invert_if r=matklad a=bravomikekilo fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219) I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position? @matklad Co-authored-by: bravomikekilo <[email protected]> | |||||
| * | | | do refact and fix some issue | bravomikekilo | 2019-11-24 | 6 | -58/+70 | |
| | | | | ||||||
| * | | | fix tidy test | bravomikekilo | 2019-11-21 | 1 | -7/+11 | |
| | | | | ||||||
| * | | | initial invert_if | bravomikekilo | 2019-11-21 | 4 | -1/+105 | |
| | | | | ||||||
* | | | | Merge #2360 | bors[bot] | 2019-11-24 | 4 | -42/+184 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 2360: Refactor builtin macro r=matklad a=edwin0cheng Refactor builtin macro and add some local tests. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | | Use macro for all the things | Edwin Cheng | 2019-11-23 | 1 | -48/+31 | |
| | | | | ||||||
| * | | | Rename BuiltinExpander to BuiltinFnLikeExpander | Edwin Cheng | 2019-11-23 | 3 | -14/+14 | |
| | | | | ||||||
| * | | | Refactor builtin macro | Edwin Cheng | 2019-11-22 | 1 | -18/+124 | |
| | | | | ||||||
| * | | | Add TestDB | Edwin Cheng | 2019-11-22 | 2 | -0/+53 | |
| | | | | ||||||
* | | | | Move ModuleSource back to hir | Aleksey Kladov | 2019-11-23 | 4 | -78/+71 | |
| | | | | ||||||
* | | | | Privatise nameres | Aleksey Kladov | 2019-11-23 | 7 | -10/+12 | |
| | | | | ||||||
* | | | | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 8 | -54/+54 | |
| | | | | ||||||
* | | | | Move ImportId | Aleksey Kladov | 2019-11-23 | 5 | -28/+26 | |
| | | | | ||||||
* | | | | Simplify HasSource | Aleksey Kladov | 2019-11-23 | 1 | -21/+18 | |
| | | | | ||||||
* | | | | Hide ImportId | Aleksey Kladov | 2019-11-23 | 4 | -21/+26 | |
| | | | | ||||||
* | | | | Remove unneded supertrait | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | Note that debugging infra is broken | Aleksey Kladov | 2019-11-23 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 23 | -135/+123 | |
| | | | | ||||||
* | | | | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 11 | -134/+118 | |
| | | | | ||||||
* | | | | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 10 | -202/+179 | |
| | | | | ||||||
* | | | | Use attrs rather than syntax for lang items | Aleksey Kladov | 2019-11-23 | 3 | -39/+45 | |
| | | | | ||||||
* | | | | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 10 | -123/+202 | |
| | | | | ||||||
* | | | | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 5 | -83/+193 | |
| |_|/ |/| | | ||||||
* | | | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 6 | -22/+17 | |
|/ / |