Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor the diagnostics | Kirill Bulatov | 2020-08-11 | 2 | -65/+44 |
| | |||||
* | Require source implementations for Diagnostic | Kirill Bulatov | 2020-08-11 | 1 | -6/+6 |
| | |||||
* | Restore accidentally removed public method | Kirill Bulatov | 2020-08-11 | 1 | -9/+5 |
| | |||||
* | Fix another missing fields diagnostics | Kirill Bulatov | 2020-08-11 | 3 | -44/+19 |
| | |||||
* | Better naming | Kirill Bulatov | 2020-08-11 | 1 | -30/+25 |
| | |||||
* | Less stubs | Kirill Bulatov | 2020-08-11 | 1 | -17/+21 |
| | |||||
* | Custom ranges for missing fields | Kirill Bulatov | 2020-08-11 | 2 | -4/+49 |
| | |||||
* | Merge #5684 | bors[bot] | 2020-08-08 | 3 | -10/+44 |
|\ | | | | | | | | | | | | | | | | | | | 5684: Semantic highlighting for unsafe union field access r=jonas-schievink a=Nashenas88 This change adds support for unions in inference and lowering, then extends on that to add the unsafe semantic modifier on field access only. The `is_possibly_unsafe` function in `syntax_highlighting.rs` could be extended to support fns and static muts so that their definitions are not highlighted as unsafe, but only their usage. Also, each commit of this PR updates the tests. By reviewing the files by commit, it's easy to see how the changes in the code affected the tests. Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Add support for unions in inference and lowering | Paul Daniel Faria | 2020-08-08 | 3 | -7/+13 |
| | | |||||
| * | Add additional checks for union inference tests | Paul Daniel Faria | 2020-08-08 | 1 | -5/+33 |
| | | |||||
* | | Account for static mut in missing unsafe diagnostic | Paul Daniel Faria | 2020-08-07 | 1 | -3/+35 |
|/ | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 2 | -2/+2 |
| | |||||
* | Merge #5610 | bors[bot] | 2020-07-30 | 2 | -17/+24 |
|\ | | | | | | | | | | | | | | | 5610: Bump deps r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Bump chalk | Laurențiu Nicola | 2020-07-30 | 2 | -17/+24 |
| | | |||||
* | | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 2 | -8/+8 |
| | | |||||
* | | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
|/ | |||||
* | Mark MismatchedArgCount as experimental | Jonas Schievink | 2020-07-24 | 1 | -0/+3 |
| | |||||
* | Add a builder for DiagnosticSink | Jonas Schievink | 2020-07-24 | 1 | -2/+2 |
| | |||||
* | Support `Trait as _` imports | Jonas Schievink | 2020-07-21 | 1 | -0/+22 |
| | |||||
* | Remove insta dep | Laurențiu Nicola | 2020-07-21 | 1 | -2/+2 |
| | |||||
* | Replace remaining insta uses | Laurențiu Nicola | 2020-07-21 | 6 | -5365/+5366 |
| | |||||
*---. | Merge #5451 #5463 #5465 #5466 | bors[bot] | 2020-07-21 | 1 | -3/+19 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5451: Highlight more cases of SyntaxKind when it is a punctuation r=matklad a=GrayJack This maybe closes #5406 Closes #5453 Separate what one expect to be a punctuation semantic token (like `,`, `;`, `(`, etc), and what is not (`&`, `::`, `+`, etc) 5463: Bump lexer r=matklad a=kjeremy Since we're now on rust 1.45 5465: Bump chalk r=matklad a=kjeremy 5466: Do not show default types in function and closure return values r=matklad a=SomeoneToIgnore Avoid things like <img width="522" alt="image" src="https://user-images.githubusercontent.com/2690773/87985936-1bbe4f80-cae5-11ea-9b8a-5383d896c296.png"> Co-authored-by: GrayJack <[email protected]> Co-authored-by: kjeremy <[email protected]> Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| | | * | Do not show default types in closures | Kirill Bulatov | 2020-07-20 | 1 | -3/+19 |
| | |/ | |||||
* | | | Merge #5458 | bors[bot] | 2020-07-21 | 3 | -849/+896 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 5458: Use expect in some ra_hir_ty tests r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | | Inline lang items in coercion tests | Laurențiu Nicola | 2020-07-20 | 2 | -27/+65 |
| | | | |||||
| * | | Use expect in never_type tests | Laurențiu Nicola | 2020-07-20 | 3 | -186/+185 |
| | | | |||||
| * | | Use expect in coercion tests | Laurențiu Nicola | 2020-07-20 | 1 | -674/+684 |
| | | | |||||
* | | | Minor perf tweaks per clippy | Jeremy Kolb | 2020-07-19 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Specify default adt representation for chalk integration | Wilco Kusee | 2020-07-19 | 1 | -1/+1 |
|/ | |||||
* | call_info works with closures | Aleksey Kladov | 2020-07-17 | 1 | -10/+1 |
| | |||||
* | Mismatched arg count works for lambdas | Aleksey Kladov | 2020-07-17 | 2 | -10/+30 |
| | |||||
* | Align CallableDefId naming with other ids | Aleksey Kladov | 2020-07-16 | 9 | -47/+49 |
| | |||||
* | Rename CallableDefId -> InternedCallabelDefid | Aleksey Kladov | 2020-07-16 | 3 | -11/+11 |
| | |||||
* | Remove TypeCtor interning | Florian Diebold | 2020-07-15 | 5 | -30/+21 |
| | | | | Our TypeCtor and Chalk's TypeName match now! | ||||
* | Use Chalk closure support | Florian Diebold | 2020-07-15 | 6 | -350/+83 |
| | |||||
* | Add FIXME | Jonas Schievink | 2020-07-14 | 1 | -0/+1 |
| | |||||
* | Thread varargs through r-a | Jonas Schievink | 2020-07-14 | 7 | -19/+65 |
| | |||||
* | ItemTree: Lower tuple types despite invalid type | Jonas Schievink | 2020-07-14 | 1 | -0/+23 |
| | |||||
* | Refactor the test of diagnostic tests | Aleksey Kladov | 2020-07-14 | 6 | -474/+278 |
| | |||||
* | Allow multiline annotations | Aleksey Kladov | 2020-07-14 | 2 | -2/+3 |
| | |||||
* | Compress match checking tests | Aleksey Kladov | 2020-07-14 | 3 | -1168/+419 |
| | |||||
* | Data-driven diagnostics tests | Aleksey Kladov | 2020-07-14 | 3 | -100/+93 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2020-07-14 | 1 | -85/+83 |
| | |||||
* | Cleanup visibility | Aleksey Kladov | 2020-07-14 | 2 | -7/+11 |
| | |||||
* | Cleanup hir diagnostics API | Aleksey Kladov | 2020-07-14 | 5 | -40/+48 |
| | |||||
* | Consolidate hir diagnostics code in one place | Aleksey Kladov | 2020-07-14 | 6 | -13/+14 |
| | |||||
* | Don't copy-paste `impl_froms` into every crate | Aleksey Kladov | 2020-07-13 | 3 | -30/+9 |
| | |||||
* | Reorder imports | Aleksey Kladov | 2020-07-13 | 3 | -8/+7 |
| | |||||
* | Merge #5331 | bors[bot] | 2020-07-12 | 2 | -2/+63 |
|\ | | | | | | | | | | | | | | | | | | | 5331: Fix #4966 r=flodiebold a=flodiebold We add a level of binders when converting our function pointer to Chalk's; we need to remove it again on the way back. Fixes #4966. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Fix #4966 | Florian Diebold | 2020-07-12 | 2 | -2/+63 |
| | | | | | | | | | | We add a level of binders when converting our function pointer to Chalk's; we need to remove it again on the way back. |