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 |
| | | |||||
* | | Merge #5679 | bors[bot] | 2020-08-07 | 1 | -3/+35 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 5679: Account for static mut in missing unsafe diagnostic r=jonas-schievink a=Nashenas88 Accessing or modifying a static mut is an unsafe operation. The "missing unsafe" diagnostic now tracks this. Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | | Account for static mut in missing unsafe diagnostic | Paul Daniel Faria | 2020-08-07 | 1 | -3/+35 |
| |/ | |||||
* / | Update chalk | Jeremy Kolb | 2020-08-06 | 1 | -3/+3 |
|/ | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 2 | -2/+2 |
| | |||||
* | Merge #5610 | bors[bot] | 2020-07-30 | 3 | -20/+27 |
|\ | | | | | | | | | | | | | | | 5610: Bump deps r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Bump chalk | Laurențiu Nicola | 2020-07-30 | 3 | -20/+27 |
| | | |||||
* | | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 2 | -8/+8 |
| | | |||||
* | | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
|/ | |||||
* | Merge #5524 | bors[bot] | 2020-07-24 | 1 | -2/+5 |
|\ | | | | | | | | | | | | | | | | | 5524: Allow opting out of experimental diagnostics like MismatchedArgCount r=matklad a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/5448 Closes https://github.com/rust-analyzer/rust-analyzer/issues/5419 Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | 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 |
| | | |||||
* | | Increace tracing-tree version from 0.1.3 to 0.1.4 | Bram van den Heuvel | 2020-07-24 | 1 | -1/+1 |
|/ | |||||
* | Support `Trait as _` imports | Jonas Schievink | 2020-07-21 | 1 | -0/+22 |
| | |||||
* | Remove insta dep | Laurențiu Nicola | 2020-07-21 | 2 | -3/+2 |
| | |||||
* | Replace remaining insta uses | Laurențiu Nicola | 2020-07-21 | 6 | -5365/+5366 |
| | |||||
*-----. | Merge #5451 #5463 #5465 #5466 | bors[bot] | 2020-07-21 | 2 | -6/+22 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | | |/ | | |/| | |||||
| | | * | Bump chalk | kjeremy | 2020-07-20 | 1 | -3/+3 |
| | |/ | |||||
* | | | 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 |
| | |||||
* | Merge #5368 | bors[bot] | 2020-07-14 | 4 | -1267/+511 |
|\ | | | | | | | | | | | | | | | | | | | | | 5368: Compress match checking tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Compress match checking tests | Aleksey Kladov | 2020-07-14 | 3 | -1168/+419 |
| | | |||||
| * | Data-driven diagnostics tests | Aleksey Kladov | 2020-07-14 | 3 | -100/+93 |
| | | |||||
* | | Merge #5355 | bors[bot] | 2020-07-14 | 1 | -0/+1 |
|\ \ | |/ |/| | | | | | | | | | | | | | 5355: Add a license field to all the crates r=matklad a=JohnTitor Some are unnecessary but it's okay to have it, I think. cc https://github.com/rust-lang/rust/issues/74269 Co-authored-by: Yuki Okushi <[email protected]> | ||||
| * | Add a license field to all the crates | Yuki Okushi | 2020-07-14 | 1 | -0/+1 |
| | |