Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Add rustc_server (ra_tt rustc bridge) | Edwin Cheng | 2020-04-09 | 3 | -1/+690 | |
| |_|/ / |/| | | | ||||||
* | | | | match checking add additional test for match checking tuple with missing pattern | Josh Mcguigan | 2020-04-08 | 1 | -0/+14 | |
| | | | | ||||||
* | | | | fix panic in match checking when tuple enum missing pattern | Josh Mcguigan | 2020-04-08 | 1 | -15/+45 | |
| |_|/ |/| | | ||||||
* | | | Fix warnings emitted when compiling as part of rustc | Luca Barbieri | 2020-04-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge #3826 | bors[bot] | 2020-04-08 | 5 | -51/+148 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup Implements the flattening of nested highlights from #3447. There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~. I have added a test case for the example mentioned in #3447. Co-authored-by: Leander Tentrup <[email protected]> | |||||
| * | | | Simplify HTML highlighter and add test case for highlight_injection logic | Leander Tentrup | 2020-04-06 | 5 | -59/+97 | |
| | | | | ||||||
| * | | | Flatten nested highlight ranges during DFS traversal | Leander Tentrup | 2020-04-03 | 2 | -6/+65 | |
| | | | | ||||||
* | | | | Merge #3892 | bors[bot] | 2020-04-08 | 2 | -1/+18 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3892: Add L_DOLLAR for TYPE_RECOVERY_SET r=matklad a=edwin0cheng This PR is a hot fix for issue #3861 that just prevent it make the parser being stuck. The actual problem described in https://github.com/rust-analyzer/rust-analyzer/pull/3873#issuecomment-610208693 is a very deep rabbit hole I don't want to dig right now :( Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | | | Add L_DOLLAR for TYPE_RECOVERY_SET | Edwin Cheng | 2020-04-08 | 2 | -1/+18 | |
| | | | | | ||||||
* | | | | | fmt | Aleksey Kladov | 2020-04-08 | 2 | -5/+7 | |
|/ / / / | ||||||
* | | | | Move computation of missing fields into hir | Aleksey Kladov | 2020-04-07 | 5 | -168/+198 | |
| | | | | ||||||
* | | | | Add functional update test | Aleksey Kladov | 2020-04-07 | 1 | -0/+33 | |
| | | | | ||||||
* | | | | Fix names of test modules | Aleksey Kladov | 2020-04-07 | 1 | -2/+2 | |
| |_|/ |/| | | ||||||
* | | | Merge #3878 | bors[bot] | 2020-04-07 | 4 | -7/+52 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3878: A more precise panic macro r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | A more precise panic macro | Aleksey Kladov | 2020-04-07 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Don't insert !() if there's already some | Aleksey Kladov | 2020-04-07 | 3 | -3/+45 | |
| | | | | ||||||
| * | | | Reorder imports | Aleksey Kladov | 2020-04-07 | 1 | -3/+6 | |
| | | | | ||||||
* | | | | add fixme to use type checker rather than manually comparing types | Josh Mcguigan | 2020-04-07 | 1 | -0/+7 | |
| | | | | ||||||
* | | | | PR feedback implementation | Josh Mcguigan | 2020-04-07 | 1 | -94/+331 | |
| | | | | ||||||
* | | | | missing match arms diagnostic change source to match expression | Josh Mcguigan | 2020-04-07 | 3 | -3/+7 | |
| | | | | ||||||
* | | | | handle match auto-deref | Josh Mcguigan | 2020-04-07 | 2 | -1/+45 | |
| | | | | ||||||
* | | | | improving documentation | Josh Mcguigan | 2020-04-07 | 1 | -16/+64 | |
| | | | | ||||||
* | | | | handle non matching enum pattern types | Josh Mcguigan | 2020-04-07 | 2 | -41/+57 | |
| | | | | ||||||
* | | | | remove panics | Josh Mcguigan | 2020-04-07 | 2 | -66/+214 | |
| | | | | ||||||
* | | | | missing match arms diagnostic | Josh Mcguigan | 2020-04-07 | 11 | -11/+1047 | |
|/ / / | ||||||
* | | | Better naming for scope completion | Aleksey Kladov | 2020-04-07 | 3 | -4/+4 | |
| | | | ||||||
* | | | Better naming for path completion | Aleksey Kladov | 2020-04-07 | 3 | -4/+4 | |
| | | | ||||||
* | | | Merge pull request #3863 from Veetaha/feature/migrate-to-rast | Aleksey Kladov | 2020-04-07 | 278 | -25/+23 | |
|\ \ \ | | | | | | | | | Migrate tests .txt -> .rast | |||||
| * | | | Migrate tests .txt -> .rast | veetaha | 2020-04-06 | 278 | -25/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files. | |||||
* | | | | Merge pull request #3866 from lnicola/fewer-braces | Aleksey Kladov | 2020-04-07 | 12 | -73/+73 | |
|\ \ \ \ | | | | | | | | | | | Fix unnecessary braces warnings | |||||
| * | | | | Fix unnecessary braces warnings | Laurențiu Nicola | 2020-04-06 | 12 | -73/+73 | |
| | | | | | ||||||
* | | | | | fix cargo check config with custom command | Josh Mcguigan | 2020-04-07 | 1 | -15/+25 | |
| | | | | | ||||||
* | | | | | Fix Chalk panic | Florian Diebold | 2020-04-06 | 3 | -2/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3865. Basically I forgot to shift 'back' when we got `dyn Trait`s back from Chalk, so after going through Chalk a few times, the panic happened. | |||||
* | | | | | Merge pull request #3867 from matklad/deny-eprintln | Aleksey Kladov | 2020-04-06 | 7 | -12/+38 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Check for eprintlns on CI | |||||
| * | | | | Check for eprintln on CI | Aleksey Kladov | 2020-04-06 | 7 | -12/+38 | |
| |/ / / | ||||||
* | | | | Add bridge::TokenStream to crate scope | Edwin Cheng | 2020-04-06 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Add proc_macro mod (copy from lib_proc_macro) | Edwin Cheng | 2020-04-06 | 11 | -0/+2943 | |
| | | | | ||||||
* | | | | Refactor deps | Edwin Cheng | 2020-04-06 | 1 | -3/+2 | |
|/ / / | ||||||
* / / | Use log info in trait_solve_query | Edwin Cheng | 2020-04-06 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #3853 from matklad/cf | Aleksey Kladov | 2020-04-06 | 4 | -8/+8 | |
|\ \ | | | | | | | Make control token modifier less ambiguous | |||||
| * | | Make control token modifier less ambiguous | Aleksey Kladov | 2020-04-06 | 4 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367 | |||||
* | | | Merge #3843 | bors[bot] | 2020-04-06 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3843: Remove rustc_lexer dependency in favour of rustc-ap-rustc_lexer r=est31 a=est31 The latter is auto-published on a regular schedule (Right now weekly). See also https://github.com/alexcrichton/rustc-auto-publish Co-authored-by: est31 <[email protected]> | |||||
| * | | | Remove rustc_lexer dependency in favour of rustc-ap-rustc_lexer | est31 | 2020-04-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | The latter is auto-published on a regular schedule (Right now weekly). | |||||
* | | | | Merge #3829 | bors[bot] | 2020-04-06 | 1 | -12/+110 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3829: Adds to SSR match for semantically equivalent call and method call r=matklad a=mikhail-m1 #3186 maybe I've missed some corner cases, but it works in general Co-authored-by: Mikhail Modin <[email protected]> | |||||
| * | | | | Adds to SSR match for semantically equivalent call and method call | Mikhail Modin | 2020-04-02 | 1 | -12/+110 | |
| | | | | | ||||||
* | | | | | Merge #3744 | bors[bot] | 2020-04-06 | 11 | -136/+294 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3744: Upgrade Chalk r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | | | Upgrade Chalk again | Florian Diebold | 2020-04-05 | 11 | -109/+192 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The big change here is counting binders, not variables (https://github.com/rust-lang/chalk/pull/360). We have to adapt to the same scheme for our `Ty::Bound`. It's mostly fine though, even makes some things more clear. | |||||
| * | | | | Upgrade Chalk | Florian Diebold | 2020-04-05 | 3 | -30/+105 | |
| | | | | | ||||||
* | | | | | Hide unit fn return types | Laurențiu Nicola | 2020-04-05 | 5 | -20/+28 | |
|/ / / / | ||||||
* | | | | Fix inference of function pointer return types | Laurențiu Nicola | 2020-04-05 | 2 | -1/+31 | |
| | | | |