aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Coalesce prime_caches updatesJonas Schievink2020-11-021-9/+35
|
* Merge #6440bors[bot]2020-11-0240-128/+121
|\ | | | | | | | | | | | | | | | | 6440: Deny unreachable pub r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Update cratesAleksey Kladov2020-11-021-7/+7
| | | | | | | | This is to bust the caches
| * Remove more unreachable pubsAleksey Kladov2020-11-0239-121/+114
|/
* Merge #6438bors[bot]2020-11-0234-158/+157
|\ | | | | | | | | | | | | | | | | | | | | | | | | 6438: Deny unreachable-pub r=matklad a=matklad It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. Co-authored-by: Aleksey Kladov <[email protected]>
| * Deny unreachable-pubAleksey Kladov2020-11-0234-158/+157
| | | | | | | | | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
* | Merge #6437bors[bot]2020-11-021-0/+54
|\ \ | |/ |/| | | | | | | | | | | | | 6437: Document doer object anti-pattern r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Update docs/dev/style.mdAleksey Kladov2020-11-021-1/+1
| | | | | | Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * Document doer object anti-patternAleksey Kladov2020-11-021-0/+54
|/
* Merge #6436bors[bot]2020-11-021-0/+6
|\ | | | | | | | | | | | | | | 6436: Textmate grammar: allow comments in attributes r=dustypomerleau a=dustypomerleau Fixes #6419 Co-authored-by: Dusty Pomerleau <[email protected]>
| * fix: allow comments in attributesDusty Pomerleau2020-11-021-0/+6
|/
* Merge #6423bors[bot]2020-10-311-18/+18
|\ | | | | | | | | | | | | | | 6423: cargo update r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * cargo updateJeremy Kolb2020-10-311-18/+18
|/
* Merge #6420bors[bot]2020-10-311-1/+1
|\ | | | | | | | | | | | | | | 6420: Update Cargo.toml r=flodiebold a=pksunkara This was blocking the automated publishing. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * Update Cargo.tomlPavan Kumar Sunkara2020-10-311-1/+1
|/
* Merge #6416bors[bot]2020-10-303-58/+62
|\ | | | | | | | | | | | | | | | | 6416: Respond with JSON-RPC error if we failed to deserialize request r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Respond with JSON-RPC error if we failed to deserialize requestAleksey Kladov2020-10-303-58/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically, we intentinally violated JSON-RPC spec here by hard crashing. The idea was to poke both the clients and servers to fix stuff. However, this is confusing for server implementors, and falls down in one important place -- protocol extension are not always backwards compatible, which causes crashes simply due to version mismatch. We had once such case with our own extension, and one for semantic tokens. So let's be less adventerous and just err on the err side!
* | Merge #6415bors[bot]2020-10-307-329/+188
|\ \ | |/ |/| | | | | | | | | | | 6415: Upgrade Chalk to 0.36 r=flodiebold a=flodiebold Quite a few changes, because Chalk got rid of the `ApplicationTy` nesting. Co-authored-by: Florian Diebold <[email protected]>
| * Upgrade Chalk to 0.36Florian Diebold2020-10-307-329/+188
|/ | | | Quite a few changes, because Chalk got rid of the `ApplicationTy` nesting.
* Merge #6411bors[bot]2020-10-301-6/+1
|\ | | | | | | | | | | | | | | 6411: remove FIXME after rust 1.47 comes out r=lnicola a=qy3u Remove 'FIXME' after rust 1.47 comes out. And for compatibility with versions before 1.47, did't remove 'src'. Co-authored-by: yuqing <[email protected]>
| * remove FIXME after rust 1.47 comes outyuqing2020-10-301-6/+1
|/
* Merge #6403bors[bot]2020-10-291-2/+2
|\ | | | | | | | | | | | | | | 6403: docs: Update Neovim nvim-lspconfig repository link r=lnicola a=rockerBOO `nvim-lsp` updated their repository to `nvim-lspconfig` to lessen confusion about what it does. Co-authored-by: Dave Lage <[email protected]>
| * docs: Update Neovim nvim-lspconfig repository linkDave Lage2020-10-291-2/+2
|/
* Merge #6398bors[bot]2020-10-281-7/+7
|\ | | | | | | | | | | | | | | 6398: cargo update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * cargo updatekjeremy2020-10-281-7/+7
| |
* | Merge #6396bors[bot]2020-10-281-45/+68
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 6396: refactor(hir_ty): do not override DisplayTarget in hir_fmt r=flodiebold a=bnjjj Linked to bug discovery from #6387 The main goal is to not use `display()` method inside `hir_fmt` to not override any parameters (like `DisplayTarget`). cc @flodiebold Co-authored-by: Benjamin Coenen <[email protected]>
| * refactor(hir_ty): do not override DisplayTarget in hir_fmtBenjamin Coenen2020-10-281-45/+68
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge #6394bors[bot]2020-10-281-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | 6394: Smaller inlay hints r=SomeoneToIgnore a=kjeremy This makes things a lot more readable but isn't officially supported by vscode: https://github.com/Microsoft/vscode/issues/9078 Inspired by Visual Studio, IntelliJ and Resharper. Co-authored-by: kjeremy <[email protected]>
| * Smaller inlay hintskjeremy2020-10-281-1/+1
| | | | | | | | | | | | This makes things a lot more readable but isn't officially supported by vscode: https://github.com/Microsoft/vscode/issues/9078 Inspired by Visual Studio, IntelliJ and Resharper.
* | Merge #6387bors[bot]2020-10-283-13/+72
|\ \ | |/ |/| | | | | | | | | | | | | 6387: do not use associated types placeholder for inlay hint r=flodiebold a=bnjjj close #6191 Co-authored-by: Benjamin Coenen <[email protected]>
| * do not use associated types placeholder for inlay hintBenjamin Coenen2020-10-284-8/+17
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * do not use associated types placeholder for inlay hintBenjamin Coenen2020-10-283-60/+44
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * do not use associated types placeholder for inlay hintBenjamin Coenen2020-10-286-155/+108
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * do not use associated types placeholder for inlay hintBenjamin Coenen2020-10-282-31/+102
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * do not use associated types placeholder for inlay hint #6191Benjamin Coenen2020-10-273-19/+61
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Merge #6384bors[bot]2020-10-281-3/+67
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 6384: add doctest runnables on struct r=lnicola a=bnjjj I will check for how to do the same on trait implementation on another PR. #6356 Co-authored-by: Benjamin Coenen <[email protected]>
| * | add doctest runnables on struct #6356Benjamin Coenen2020-10-271-1/+1
| | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * | add doctest runnables on struct #6356Benjamin Coenen2020-10-271-3/+67
| | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | | Merge #6392bors[bot]2020-10-281-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6392: Also set textDecoration: none on inlay hints r=SomeoneToIgnore a=lnicola Closes #6380 Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * | | Also set textDecoration: none on inlay hintsLaurențiu Nicola2020-10-281-0/+1
|/ / /
* | | Merge #6379bors[bot]2020-10-273-0/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6379: Highlight never type as BuiltinType r=matklad a=Veykril Fixes #6374 Co-authored-by: Lukas Wirth <[email protected]>
| * | | Highlight never type as BuiltinTypeLukas Wirth2020-10-263-0/+15
| | | |
* | | | Merge #6382bors[bot]2020-10-271-0/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 6382: Set font-wieght: normal on inlay hints r=SomeoneToIgnore a=lnicola Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * | | Set font-wieght: normal on inlay hintsLaurențiu Nicola2020-10-271-0/+1
| | | |
* | | | Merge #6383bors[bot]2020-10-271-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6383: Update client install command in dev docs r=kjeremy a=lnicola Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * | | | Update client install command in dev docsLaurențiu Nicola2020-10-271-1/+1
| |/ / /
* | | | Merge #6376bors[bot]2020-10-274-1/+26
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6376: Avoid impls_fnonce to return true when the trait solving is ambiguous r=flodiebold a=GrayJack This PR should fix #6375 This adds a variation of `method_resolution::implements_trait` called `method_resolution::implements_trait_unique`, that only returns true when the trait solving is unique, and also change `impls_fnonce` to use the later instead. I also added a test just to be sure. Co-authored-by: GrayJack <[email protected]>
| * | | Fix testGrayJack2020-10-261-158/+158
| | | |
| * | | Add test to avoid regressionGrayJack2020-10-262-153/+165
| | | |
| * | | Fix case where non FnOnce variables is marked callableGrayJack2020-10-262-1/+14
| | |/ | |/|