Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Fix handling of whitespace when applying SSR within macro expansions. | David Lattimore | 2020-06-27 | 4 | -18/+37 | |
| | | | | | | | | | | | | | | | | | | | | I originally did replacement by passing in the full file text. Then as some point I thought I could do without it. Turns out calling .text() on a node coming from a macro expansion isn't a great idea, especially when you then try and use ranges from the original source to cut that text. The test I added here actually panics without the rest of this change (sorry I didn't notice sooner). | |||||
* | | | | | Merge #5122 | bors[bot] | 2020-06-29 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5122: Fix "Run | Debug" lens for examples r=matklad a=vsrs Fixes #4974 Co-authored-by: vsrs <[email protected]> | |||||
| * | | | | | Fix "Run | Debug" lens for examples | vsrs | 2020-06-29 | 1 | -1/+1 | |
| | |_|/ / | |/| | | | ||||||
* | | | | | Merge #5126 | bors[bot] | 2020-06-29 | 5 | -15/+20 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5126: Use more of FxHash* r=matklad a=lnicola ``` -rwxr-xr-x 1 me me 37917528 Jun 29 17:26 /home/me/.cargo/bin/rust-analyzer -rwxr-xr-x 1 me me 37904056 Jun 29 18:14 /home/me/.cargo/bin/rust-analyzer ``` Saved 13.5 KB there :-). Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | | | Use more of FxHash* | Laurențiu Nicola | 2020-06-29 | 5 | -15/+20 | |
| | | | | | | ||||||
* | | | | | | Update the rest of the tests | Aleksey Kladov | 2020-06-29 | 9 | -446/+311 | |
| | | | | | | ||||||
* | | | | | | (T): make typification tests more data driven | Aleksey Kladov | 2020-06-29 | 5 | -133/+137 | |
|/ / / / / | ||||||
* | | | | | Merge #5124 | bors[bot] | 2020-06-29 | 5 | -21/+98 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5124: (Partially) fix handling of type params depending on type params r=matklad a=flodiebold If the first type parameter gets inferred, that's still not handled correctly; it'll require some more refactoring: E.g. if we have `Thing<T, F=fn() -> T>` and then instantiate `Thing<_>`, that gets turned into `Thing<_, fn() -> _>` before the `_` is instantiated into a type variable -- so afterwards, we have two type variables without any connection to each other. Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | | | (Partially) fix handling of type params depending on type params | Florian Diebold | 2020-06-29 | 5 | -21/+98 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the first type parameter gets inferred, that's still not handled correctly; it'll require some more refactoring: E.g. if we have `Thing<T, F=fn() -> T>` and then instantiate `Thing<_>`, that gets turned into `Thing<_, fn() -> _>` before the `_` is instantiated into a type variable -- so afterwards, we have two type variables without any connection to each other. | |||||
* | | | | | Merge #5105 | bors[bot] | 2020-06-28 | 20 | -119/+44 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5105: Simlify with matches!() r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]> | |||||
| * | | | | | Get rid of unused imports | Veetaha | 2020-06-28 | 2 | -10/+3 | |
| | | | | | | ||||||
| * | | | | | Follow matklad suggestions | Veetaha | 2020-06-28 | 5 | -19/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move vis_offset() to utils.rs - Shorten explicit ra_syntax::ast -> ast - Undo refactoring exhaustive pattern to non-exhaustive | |||||
| * | | | | | Simlify with matches!() | Veetaha | 2020-06-28 | 20 | -98/+32 | |
| | | | | | | ||||||
* | | | | | | Merge #5114 | bors[bot] | 2020-06-28 | 3 | -94/+128 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5114: Cleanup cargo process handling in flycheck r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | | Cleanup cargo process handling in flycheck | Aleksey Kladov | 2020-06-28 | 2 | -61/+66 | |
| | | | | | | | ||||||
| * | | | | | | More standard pattern for Cargo | Aleksey Kladov | 2020-06-28 | 1 | -76/+83 | |
| | | | | | | | ||||||
| * | | | | | | Naming | Aleksey Kladov | 2020-06-28 | 2 | -12/+11 | |
| | | | | | | | ||||||
| * | | | | | | Rename | Aleksey Kladov | 2020-06-28 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | Make sure to join the child | Aleksey Kladov | 2020-06-28 | 1 | -2/+25 | |
| | |/ / / / | |/| | | | | ||||||
* / | | | | | Update Chalk to released version | Florian Diebold | 2020-06-28 | 1 | -2/+2 | |
|/ / / / / | ||||||
* | | | | | Don't show ra_fixture param hints | Aleksey Kladov | 2020-06-28 | 1 | -1/+2 | |
| | | | | | ||||||
* | | | | | Simplify | Veetaha | 2020-06-27 | 1 | -13/+1 | |
|/ / / / | ||||||
* | | | | Add support for include_bytes | Laurențiu Nicola | 2020-06-27 | 2 | -0/+36 | |
| | | | | ||||||
* | | | | Merge #5100 | bors[bot] | 2020-06-27 | 3 | -19/+60 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5100: Add support for include_str r=edwin0cheng a=lnicola r? @edwin0cheng Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | | Add support for include_str | Laurențiu Nicola | 2020-06-27 | 3 | -19/+60 | |
| | |/ / | |/| | | ||||||
* | | | | Simplify unsafe expr collection match | Paul Daniel Faria | 2020-06-27 | 1 | -4/+3 | |
| | | | | ||||||
* | | | | Improve perf of finding unsafe exprs | Paul Daniel Faria | 2020-06-27 | 1 | -49/+39 | |
| | | | | ||||||
* | | | | Remove unneeded code, filename from tests, fix rebasing issues | Paul Daniel Faria | 2020-06-27 | 11 | -32/+83 | |
| | | | | ||||||
* | | | | Cleanup changes leftover from previous tracking attempt | Paul Daniel Faria | 2020-06-27 | 1 | -14/+16 | |
| | | | | ||||||
* | | | | Revert ide highlighting changes (addressing on another branch) | Paul Daniel Faria | 2020-06-27 | 10 | -104/+10 | |
| | | | | ||||||
* | | | | Remove track_parent and parent_map, replace with simple walk in missign ↵ | Paul Daniel Faria | 2020-06-27 | 3 | -291/+121 | |
| | | | | | | | | | | | | | | | | unsafe validator | |||||
* | | | | Fix issues caused during rebase | Paul Daniel Faria | 2020-06-27 | 1 | -45/+63 | |
| | | | | ||||||
* | | | | unsafe: Clean up, improve tracking, add debug_assert | Paul Daniel Faria | 2020-06-27 | 4 | -153/+232 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Move unsafe_expressions to unsafe_validation.rs, replace vec tracking of child exprs with inline macro, add debug assert to ensure tracked children match walked children exactly | |||||
* | | | | Add HighlightTag::Operator, use it for unsafe deref. Move unsafe validation ↵ | Paul Daniel Faria | 2020-06-27 | 11 | -58/+81 | |
| | | | | | | | | | | | | | | | | to its own file | |||||
* | | | | Account for deref token in syntax highlighting of unsafe, add test for that case | Paul Daniel Faria | 2020-06-27 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Track expr parents during lowering, use parent map when checking if unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 4 | -100/+177 | |
| | | | | | | | | | | | | | | | | exprs are within unsafe blocks | |||||
* | | | | Address review comments, have MissingUnsafe diagnostic point to each unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 3 | -25/+19 | |
| | | | | | | | | | | | | | | | | use, update tests | |||||
* | | | | Rename Expr::UnsafeBlock to Expr::Unsafe | Paul Daniel Faria | 2020-06-27 | 4 | -5/+5 | |
| | | | | ||||||
* | | | | Track unsafe blocks, don't trigger missing unsafe diagnostic when unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 7 | -19/+82 | |
| | | | | | | | | | | | | | | | | exprs within unsafe block | |||||
* | | | | Add missing self param to test | Paul Daniel Faria | 2020-06-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Fix typo in test | Paul Daniel Faria | 2020-06-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Remove UnnecessaryUnsafe diagnostic, Fix Expr::Call unsafe analysis | Paul Daniel Faria | 2020-06-27 | 4 | -70/+22 | |
| | | | | ||||||
* | | | | Add tests covering unsafe blocks, more attempts to get call expr tests passing | Paul Daniel Faria | 2020-06-27 | 2 | -1/+86 | |
| | | | | ||||||
* | | | | Move diagnostics back into expr, add tests for diagnostics, fix logic to ↵ | Paul Daniel Faria | 2020-06-27 | 7 | -73/+158 | |
| | | | | | | | | | | | | | | | | account for derefs of raw ptrs | |||||
* | | | | Add unsafe diagnostics and unsafe highlighting | Paul Daniel Faria | 2020-06-27 | 5 | -2/+163 | |
|/ / / | ||||||
* | | | Merge #5090 | bors[bot] | 2020-06-27 | 3 | -14/+14 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 5090: Bump deps r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | Bump rustc_lexer | Laurențiu Nicola | 2020-06-27 | 2 | -13/+13 | |
| | | | ||||||
| * | | Bump deps | Laurențiu Nicola | 2020-06-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add `::` to label for `crate::` completion | Aleksey Kladov | 2020-06-27 | 1 | -7/+7 | |
| |/ |/| | ||||||
* | | cleanup | Aleksey Kladov | 2020-06-27 | 1 | -13/+10 | |
| | |