Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't allocate common visibilities | Jonas Schievink | 2020-06-24 | 1 | -24/+28 |
| | |||||
* | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 2 | -54/+85 |
| | |||||
* | ItemTree: use a newtyped ID | Jonas Schievink | 2020-06-24 | 1 | -3/+4 |
| | |||||
* | Remove now-broken incremental test | Jonas Schievink | 2020-06-24 | 1 | -38/+0 |
| | | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change | ||||
* | Remove raw item query | Jonas Schievink | 2020-06-24 | 1 | -483/+0 |
| | |||||
* | Fix test | Jonas Schievink | 2020-06-24 | 1 | -2/+5 |
| | |||||
* | Move collector | Jonas Schievink | 2020-06-24 | 1 | -108/+193 |
| | |||||
* | collector changes WIP | Jonas Schievink | 2020-06-24 | 2 | -26/+25 |
| | |||||
* | Fix formatting issue with glob shadow test | Paul Daniel Faria | 2020-06-24 | 1 | -17/+17 |
| | |||||
* | Use a macro in push_res to simplify code, simplify glob_shadowed_def assertion | Paul Daniel Faria | 2020-06-24 | 1 | -127/+28 |
| | |||||
* | Account for updated module ids when determining whether a resolution is ↵ | Paul Daniel Faria | 2020-06-24 | 1 | -0/+146 |
| | | | | "changed" | ||||
* | Drop rarely used fixture functionality | Aleksey Kladov | 2020-06-23 | 1 | -25/+0 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 2 | -7/+10 |
| | |||||
* | Don't panic on crates depending on themselves | Florian Diebold | 2020-06-19 | 1 | -1/+1 |
| | | | | Fixes #3883. | ||||
* | Simplify | Aleksey Kladov | 2020-06-18 | 1 | -1/+4 |
| | |||||
* | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end! | ||||
* | Don't guess macro expansion crate | Aleksey Kladov | 2020-06-11 | 1 | -17/+22 |
| | |||||
* | More direct signature for resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -1/+1 |
| | |||||
* | Rename resolve_relative_path -> resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -1/+1 |
| | | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths | ||||
* | Pass trivially copy types as copy | kjeremy | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 7 | -27/+25 |
| | |||||
* | Change union resolve types only | Edwin Cheng | 2020-05-04 | 1 | -1/+1 |
| | |||||
* | Change favor_types to has_constructor | Edwin Cheng | 2020-05-04 | 1 | -3/+3 |
| | |||||
* | Fix test | Edwin Cheng | 2020-05-04 | 1 | -16/+16 |
| | |||||
* | Favor types for Record in name resolution | Edwin Cheng | 2020-05-04 | 2 | -6/+25 |
| | |||||
* | Add test in name resolutions | Edwin Cheng | 2020-05-02 | 1 | -0/+37 |
| | |||||
* | Make AttrQuery copyable | Edwin Cheng | 2020-05-01 | 1 | -10/+14 |
| | |||||
* | Support local_inner_macros | Edwin Cheng | 2020-05-01 | 2 | -6/+23 |
| | |||||
* | Record definitions in `extern` blocks | Jonas Schievink | 2020-04-23 | 2 | -3/+38 |
| | |||||
* | Make incremental nameres test harder | Aleksey Kladov | 2020-04-11 | 1 | -0/+6 |
| | |||||
* | Avoid cyclic queries in name resolution when processing enums | Aleksey Kladov | 2020-04-11 | 1 | -0/+8 |
| | |||||
* | Remove code duplication | Aleksey Kladov | 2020-04-11 | 1 | -5/+1 |
| | |||||
* | Semicolon token | Aleksey Kladov | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Provide more complete AST accessors to support usage in rustc | Luca Barbieri | 2020-04-09 | 1 | -0/+4 |
| | |||||
* | Merge #3727 | bors[bot] | 2020-03-26 | 1 | -4/+12 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_mbe | Edwin Cheng | 2020-03-26 | 1 | -3/+3 |
| | | |||||
| * | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 1 | -5/+13 |
| | | |||||
* | | Get rid of ItemOrMacro | Aleksey Kladov | 2020-03-26 | 1 | -5/+6 |
| | | |||||
* | | Minor incremental tests cleanup | Aleksey Kladov | 2020-03-26 | 1 | -8/+8 |
|/ | |||||
* | Remove collect proc_macro definitions | Edwin Cheng | 2020-03-25 | 1 | -23/+23 |
| | |||||
* | Rename to CustomDerive | Edwin Cheng | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Add basic custom derive lowering | Edwin Cheng | 2020-03-25 | 1 | -7/+53 |
| | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 3 | -52/+46 |
| | |||||
* | Check that no file contains trailing ws | Aleksey Kladov | 2020-03-17 | 4 | -107/+107 |
| | | | | rustfmt allows trailing spaces in string literals unfortunately. | ||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 4 | -26/+16 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Protect against infinite macro expansion in def collector | Florian Diebold | 2020-03-13 | 1 | -9/+39 |
| | | | | | | | | | There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...) Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth. | ||||
* | fix issue 3444 | Josh Mcguigan | 2020-03-13 | 1 | -0/+22 |
| | |||||
* | Minimize API | Aleksey Kladov | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 1 | -3/+3 |
| |