Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 1 | -4/+3 |
| | |||||
* | Merge #3384 | bors[bot] | 2020-03-01 | 1 | -0/+36 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3384: fix #2377 super::super::* r=flodiebold a=JoshMcguigan Thanks @matklad for the detailed explanation on #2377. I believe this fixes it. One thing I'm not sure about is you said the fix would involve changing `crates/ra_hir_def/src/path/lower/lower.rs`, but I only changed `crates/ra_hir_def/src/path/lower/lower_use.rs`. I'm not sure what kind of test code I'd have to write to expose the issue in `lower.rs`, but I'd be happy to add it if you are able to provide additional guidance. closes #2377 Co-authored-by: Josh Mcguigan <[email protected]> | ||||
| * | fix #2377 super::super::* | Josh Mcguigan | 2020-03-01 | 1 | -0/+36 |
| | | |||||
* | | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -3/+3 |
|/ | |||||
* | Refactor how builtins are resolved | Florian Diebold | 2020-02-21 | 1 | -30/+33 |
| | | | | This fixes autocompletion suggesting e.g. self::usize. | ||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 2 | -5/+3 |
| | |||||
* | Introduce AsMacroCall trait | Edwin Cheng | 2020-02-17 | 1 | -37/+40 |
| | |||||
* | Bump crate resolution limit for large projects | Benjamin Brittain | 2020-02-14 | 1 | -1/+1 |
| | | | | Change-Id: Ie0221e5bcfd1779cd5e241f96b4489e5bd3854c1 | ||||
* | include requested changes | zombiefungus | 2020-02-02 | 2 | -15/+12 |
| | |||||
* | add new ImportAlias enum to differentiate no alias from an _ alias | zombiefungus | 2020-02-02 | 2 | -3/+17 |
| | |||||
* | Publicize debug printing of CrateDefMap | Aleksey Kladov | 2020-01-28 | 1 | -41/+2 |
| |