Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |/ | |/| | |||||
* | | | Merge #5113 | bors[bot] | 2020-06-28 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5113: Update instant r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | | Update instant | Jeremy Kolb | 2020-06-28 | 1 | -2/+2 |
|/ / / | |||||
* | | | Merge #5112 | bors[bot] | 2020-06-28 | 2 | -10/+14 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 5112: Update Chalk to released version r=flodiebold a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Update Chalk to released version | Florian Diebold | 2020-06-28 | 2 | -10/+14 |
|/ / | |||||
* | | Merge #5108 | bors[bot] | 2020-06-28 | 1 | -1/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5108: Don't show ra_fixture param hints r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Don't show ra_fixture param hints | Aleksey Kladov | 2020-06-28 | 1 | -1/+2 |
|/ / | |||||
* | | Merge #5104 | bors[bot] | 2020-06-28 | 1 | -13/+1 |
|\ \ | |/ |/| | | | | | | | | | | | 5104: Simplify r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]> | ||||
| * | Simplify | Veetaha | 2020-06-27 | 1 | -13/+1 |
|/ | |||||
* | Merge #5102 | bors[bot] | 2020-06-27 | 2 | -0/+36 |
|\ | | | | | | | | | | | | | | | 5102: Add support for include_bytes! r=edwin0cheng a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | 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 |
| | | |||||
* | | Merge #4587 | bors[bot] | 2020-06-27 | 13 | -13/+328 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 4587: Add "missing unsafe" diagnostics r=Nashenas88 a=Nashenas88 Addresses #190 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | | Remove html from gitignore so highlight snapshots are not ignored | Paul Daniel Faria | 2020-06-27 | 1 | -1/+0 |
| | | | |||||
| * | | 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 | 12 | -34/+85 |
| | | | |||||
| * | | 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 #5099 | bors[bot] | 2020-06-27 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | | | | | | | 5099: Escape space in path for MacOS binary location r=matklad a=LeSeulArtichaut This makes it possible and easier to copy paste the path to the binary server, without needing to add quotes. Co-authored-by: LeSeulArtichaut <[email protected]> | ||||
| * | Escape space in path for MacOS binary location | LeSeulArtichaut | 2020-06-27 | 1 | -1/+1 |
|/ |