aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
*-. Merge #3964 #3965 #3967bors[bot]2020-04-151-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3964: Nicer Chalk debug logs r=matklad a=flodiebold I'm looking at a lot of Chalk debug logs at the moment, so here's a few changes to make them slightly nicer... 3965: Implement inline associated type bounds r=matklad a=flodiebold Like `Iterator<Item: SomeTrait>`. This is an unstable feature, but it's used in the standard library e.g. in the definition of Flatten, so we can't get away with not implementing it :) (This is cherry-picked from my recursive solver branch, where it works better, but I did manage to write a test that works with the current Chalk solver as well...) 3967: Handle `Self::Type` in trait definitions when referring to own associated type r=matklad a=flodiebold It was implemented for other generic parameters for the trait, but not for `Self`. (Last one off my recursive solver branch :smile: ) Co-authored-by: Florian Diebold <[email protected]>
| * | Nicer display of projections in Chalk logsFlorian Diebold2020-04-131-0/+1
| |/
* | Merge #3963bors[bot]2020-04-151-6/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | 3963: Upgrade Chalk r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Upgrade ChalkFlorian Diebold2020-04-131-6/+19
| |/
* / insta 0.16kjeremy2020-04-141-2/+2
|/
* Merge #3920bors[bot]2020-04-111-0/+49
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3920: Implement expand_task and list_macros in proc_macro_srv r=matklad a=edwin0cheng This PR finish up the remain `proc_macro_srv` implementation : 1. Added dylib loading code for proc-macro crate dylib. Note that we have to add some special flags for unix loading because of a bug in old version of glibc, see https://github.com/fedochet/rust-proc-macro-panic-inside-panic-expample/issues/1 and https://github.com/rust-lang/rust/issues/60593 for details. 2. Added tests for proc-macro expansion: We use a trick here by adding `serde_derive` to dev-dependencies and calling `cargo-metadata` for searching its dylib path, and expand it in our tests. [EDIT] Note that this PR **DO NOT** implement the final glue code with rust-analzyer and proc-macro-srv yet. Co-authored-by: Edwin Cheng <[email protected]>
| * Add testsEdwin Cheng2020-04-091-0/+1
| |
| * Add dylib loading codeEdwin Cheng2020-04-091-0/+48
| |
* | cargo updatekjeremy2020-04-101-10/+10
| |
* | Implement Chalk's debug methods using TLSFlorian Diebold2020-04-101-0/+7
|/ | | | | | | | | | Chalk now panics if we don't implement these methods and run with CHALK_DEBUG, so I thought I'd try to implement them 'properly'. Sadly, it seems impossible to do without transmuting lifetimes somewhere. The problem is that we need a `&dyn HirDatabase` to get names etc., which we can't just put into TLS. I thought I could just use `scoped-tls`, but that doesn't support references to unsized types. So I put the `&dyn` into another struct and put the reference to *that* into the TLS, but I have to transmute the lifetime to 'static for that to work.
* Add rustc_server (ra_tt rustc bridge)Edwin Cheng2020-04-091-0/+1
|
* missing match arms diagnosticJosh Mcguigan2020-04-071-0/+1
|
* Refactor depsEdwin Cheng2020-04-061-6/+4
|
* Merge #3843bors[bot]2020-04-061-10/+10
|\ | | | | | | | | | | | | | | | | | | 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_lexerest312020-04-061-10/+10
| | | | | | | | The latter is auto-published on a regular schedule (Right now weekly).
* | Merge #3744bors[bot]2020-04-061-22/+13
|\ \ | |/ |/| | | | | | | | | | | | | 3744: Upgrade Chalk r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]>
| * Upgrade Chalk againFlorian Diebold2020-04-051-6/+6
| | | | | | | | | | | | | | 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 ChalkFlorian Diebold2020-04-051-22/+13
| |
* | Update serde_jsonkjeremy2020-04-051-2/+2
|/
* Cargo updatekjeremy2020-04-041-10/+10
|
* Remove unused dependenciesest312020-04-041-50/+0
|
* Introduce ra_proc_macro_srvEdwin Cheng2020-04-031-0/+63
|
* filetime and proc-macro-hackkjeremy2020-04-011-4/+4
|
* Reduce depsAleksey Kladov2020-03-311-1/+0
|
* Rename cargo_watch -> flycheckAleksey Kladov2020-03-311-15/+15
|
* Use jod_threadEdwin Cheng2020-03-311-0/+1
|
* Fix testEdwin Cheng2020-03-311-1/+0
|
* Implement ra_proc_macro client logicEdwin Cheng2020-03-311-0/+5
|
* Update depskjeremy2020-03-311-14/+14
|
* Use automatic thread joining for cargo-watchAleksey Kladov2020-03-301-0/+1
|
* :arrow_up: jod-threadAleksey Kladov2020-03-301-2/+2
|
* Nice string formattingAleksey Kladov2020-03-281-0/+4
|
* Start stdxAleksey Kladov2020-03-281-16/+6
| | | | This crate will hold everything to small to be worth publishing
* Merge #3727bors[bot]2020-03-261-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>
| * Remove deps on tt_mbeEdwin Cheng2020-03-261-2/+1
| |
| * Add ProcMacroClientEdwin Cheng2020-03-251-0/+2
| |
| * Add ra_proc_macroEdwin Cheng2020-03-251-0/+8
| |
* | Update depskjeremy2020-03-261-10/+10
|/
* Use more generic public apiKirill Bulatov2020-03-241-0/+2
|
* update itertools version to 0.9.0Josh Mcguigan2020-03-231-7/+16
|
* implement fill match arm assist for tuple of enumsJosh Mcguigan2020-03-231-0/+1
|
* Bump proc-macro-hack and synJeremy Kolb2020-03-221-9/+4
|
* cargo updateCAD972020-03-181-10/+10
|
* Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-171-0/+1
|
* Update dependencies, removing rustc_versionkjeremy2020-03-161-16/+7
|
* Update anyhowJeremy Kolb2020-03-151-2/+2
|
* Update depskjeremy2020-03-131-10/+10
|
* fix issue 3444Josh Mcguigan2020-03-131-0/+1
|
* :arrow_up: fstAleksey Kladov2020-03-101-11/+2
|
* Remove c2-chaha dependencykjeremy2020-03-101-12/+3
|