Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update smallvec dep to 1.0 | memoryruins | 2019-11-15 | 1 | -1/+7 | |
| | ||||||
* | Revert #2230 | Aleksey Kladov | 2019-11-14 | 1 | -1/+0 | |
| | | | | | Looks like autocfg tries to do slightly more than we need (see #2231), so let's stick with minimal home-grown solution. | |||||
* | Use anyhow::Result in xtask, add contexts | Pascal Hertleif | 2019-11-13 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on #2231 but was actually done before that. You see, the cause for #2231 was that I got this error message: Error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } Just switching to `anyhow::Result` got me stack traces (when setting `RUST_LIB_BACKTRACE=1`) that at least showed stack backtrace: 0: std::backtrace::Backtrace::create 1: std::backtrace::Backtrace::capture 2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from 3: xtask::install_server 4: xtask::install 5: xtask::main 6: std::rt::lang_start::{{closure}} 7: std::panicking::try::do_call 8: __rust_maybe_catch_panic 9: std::rt::lang_start_internal 10: std::rt::lang_start 11: main With the added contexts (not at all exhaustive), the error became Error: install server Caused by: 0: build AutoCfg with target directory 1: No such file or directory (os error 2) Since anyhow is such a small thing (no new transitive dependencies!), and in general gives you `Result<T, Box<dyn Error>>` on steroids, I think this a nice small change. The only slightly annoying thing was to replace all the `Err(format!(…))?` calls (haven't even looked at whether we can make it support wrapping strings though), but the `bail!` macro is shorter anyway :) | |||||
* | Use autocfg to determine rust version | kjeremy | 2019-11-13 | 1 | -0/+1 | |
| | ||||||
* | Update Crates | Jeremy Kolb | 2019-11-13 | 1 | -30/+30 | |
| | ||||||
* | Remove typed macro parsing API | Aleksey Kladov | 2019-11-09 | 1 | -0/+1 | |
| | | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type | |||||
* | Update crates | kjeremy | 2019-11-07 | 1 | -58/+63 | |
| | | | | | | | Removes nodrop and extra arrayvec We have an extra crossbeam-queue and crossbeam-utils left but those should drop once rayon accepts https://github.com/rayon-rs/rayon/pull/704 | |||||
* | Update smallvec to avoid UB and cc while we're at it | kjeremy | 2019-11-05 | 1 | -12/+21 | |
| | ||||||
* | Bump psm, console, indicatif | kjeremy | 2019-11-05 | 1 | -10/+10 | |
| | ||||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -3/+0 | |
| | ||||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -0/+1 | |
| | ||||||
* | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 1 | -0/+1 | |
| | | | | The goal here is to share more testing infrastructure between crates. | |||||
* | Upgrade Chalk | Florian Diebold | 2019-11-02 | 1 | -27/+27 | |
| | ||||||
* | updates | kjeremy | 2019-10-31 | 1 | -16/+26 | |
| | ||||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -0/+7 | |
| | ||||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -0/+1 | |
| | ||||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 1 | -0/+12 | |
| | ||||||
* | bump smallvec and unicode-segmentation | kjeremy | 2019-10-29 | 1 | -9/+9 | |
| | ||||||
* | Merge #2114 | bors[bot] | 2019-10-29 | 1 | -2/+6 | |
|\ | | | | | | | | | | | | | | | 2114: Move macro expansion to a separate crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | rename hir_def -> hir_expand | Aleksey Kladov | 2019-10-29 | 1 | -2/+2 | |
| | | ||||||
| * | move expansion-related code to a separate crate | Aleksey Kladov | 2019-10-29 | 1 | -0/+4 | |
| | | ||||||
* | | Upgrade Chalk, make use of TypeName::Error variant | Florian Diebold | 2019-10-29 | 1 | -23/+36 | |
|/ | ||||||
* | start ra_hir_def crate | Aleksey Kladov | 2019-10-29 | 1 | -0/+10 | |
| | ||||||
* | Update crates | Jeremy Kolb | 2019-10-28 | 1 | -40/+40 | |
| | ||||||
* | Upgrade Chalk (without using its dyn/impl Trait support) | Florian Diebold | 2019-10-26 | 1 | -23/+23 | |
| | ||||||
* | Specify working chalk revisions in manifest | Laurențiu Nicola | 2019-10-25 | 1 | -23/+23 | |
| | ||||||
* | bump insta | kjeremy | 2019-10-24 | 1 | -29/+12 | |
| | ||||||
* | xtask: don't depend on itertools | Aleksey Kladov | 2019-10-23 | 1 | -1/+0 | |
| | | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer | |||||
* | use Lazy, some fixes | Ekaterina Babshukova | 2019-10-22 | 1 | -0/+1 | |
| | ||||||
* | Bump crates | kjeremy | 2019-10-22 | 1 | -66/+68 | |
| | ||||||
* | rename tools -> xtask | Aleksey Kladov | 2019-10-17 | 1 | -7/+0 | |
| | ||||||
* | WIP: move to xtasks | Aleksey Kladov | 2019-10-17 | 1 | -13/+13 | |
| | ||||||
* | bump proc-macro-hack | kjeremy | 2019-10-17 | 1 | -4/+4 | |
| | ||||||
* | relative-path 1.0 | kjeremy | 2019-10-17 | 1 | -12/+12 | |
| | ||||||
* | Bump deps | Laurențiu Nicola | 2019-10-17 | 1 | -80/+108 | |
| | ||||||
* | Update Cargo.lock | Shotaro Yamada | 2019-10-14 | 1 | -0/+1 | |
| | ||||||
* | Remove unused dependencies | Shotaro Yamada | 2019-10-12 | 1 | -7/+0 | |
| | ||||||
* | Merge #1989 | bors[bot] | 2019-10-11 | 1 | -6/+5 | |
|\ | | | | | | | | | | | | | | | 1989: Chalk update to simplified IR r=flodiebold a=kjeremy Co-authored-by: kjeremy <[email protected]> | |||||
| * | Chalk update to simplified IR | kjeremy | 2019-10-10 | 1 | -6/+5 | |
| | | ||||||
* | | Update all crates that do not pull in new dependencies | kjeremy | 2019-10-10 | 1 | -29/+28 | |
|/ | ||||||
* | :arrow_up: smol_str, take 2 | Aleksey Kladov | 2019-10-09 | 1 | -5/+5 | |
| | ||||||
* | :arrow_up: smol_str | Aleksey Kladov | 2019-10-09 | 1 | -5/+5 | |
| | ||||||
* | Merge #1922 | bors[bot] | 2019-10-08 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | 1922: feat(assists): Make raw string unescaped r=matklad a=Geobert Last piece of https://github.com/rust-analyzer/rust-analyzer/issues/1730 Co-authored-by: Geobert Quach <[email protected]> | |||||
| * | feat(assists): Make raw string unescaped | Geobert Quach | 2019-09-26 | 1 | -0/+1 | |
| | | ||||||
* | | proc-macro2 1.0.5 | Jeremy Kolb | 2019-10-07 | 1 | -11/+11 | |
| | | ||||||
* | | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 1 | -0/+1 | |
| | | ||||||
* | | Introduce ra_cfg to parse and evaluate CfgExpr | uHOOCCOOHu | 2019-10-02 | 1 | -0/+14 | |
| | | ||||||
* | | Update pico-args | kjeremy | 2019-10-02 | 1 | -4/+4 | |
| | | ||||||
* | | flexi_logger and either | kjeremy | 2019-10-02 | 1 | -8/+8 | |
| | | ||||||
* | | :arrow_up: deps | Aleksey Kladov | 2019-09-30 | 1 | -85/+85 | |
| | |