Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable hover and autocomplete docs on macro generated items | Aaron Loucks | 2020-06-03 | 1 | -0/+1 |
| | |||||
* | correctly infer labelled breaks | robojumper | 2020-05-31 | 1 | -0/+5 |
| | |||||
* | Pass trivially copy types as copy | kjeremy | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | Store proc-macro result in salsa db | Edwin Cheng | 2020-05-14 | 1 | -1/+35 |
| | |||||
* | fix typo unimplementated -> unimplemented | Trevor Spiteri | 2020-05-12 | 1 | -2/+2 |
| | | | | | Pretty harmless typo, but it does get exposed in lsp-rust-analyzer-expand-macro. | ||||
* | Merge #4234 | bors[bot] | 2020-05-02 | 4 | -11/+28 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 4234: Support local_inner_macros r=jonas-schievink a=edwin0cheng This PR implements `#[macro_export(local_inner_macros)]` support. Note that the rustc implementation is quite [hacky][1] too. :) [1]: https://github.com/rust-lang/rust/blob/614f273e9388ddd7804d5cbc80b8865068a3744e/src/librustc_resolve/macros.rs#L456 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Update crates/ra_hir_expand/src/builtin_derive.rs | Edwin Cheng | 2020-05-02 | 1 | -1/+1 |
| | | | | | | | | | | Fix spacing Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Support local_inner_macros | Edwin Cheng | 2020-05-01 | 4 | -11/+28 |
| | | |||||
* | | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -2/+1 |
| | | |||||
* | | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -1/+1 |
|/ | |||||
* | Check dep name to detect it is core | Edwin Cheng | 2020-04-27 | 1 | -4/+6 |
| | |||||
* | Use empty-deps tricks to detect it is core | Edwin Cheng | 2020-04-27 | 1 | -5/+21 |
| | |||||
* | Add test | Edwin Cheng | 2020-04-27 | 1 | -1/+1 |
| | |||||
* | Use core instead of std for builtin derive macros | Edwin Cheng | 2020-04-27 | 1 | -32/+61 |
| | |||||
* | Merge #4125 | bors[bot] | 2020-04-25 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 4125: Avoid lossy OsString conversions r=matklad a=lnicola This is a bit invasive, and perhaps for not much benefit since non-UTF-8 environment variables don't work anyway. Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Avoid lossy OsString conversions | Laurențiu Nicola | 2020-04-25 | 1 | -1/+1 |
| | | |||||
* | | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 2 | -4/+4 |
|/ | |||||
* | Improve remove dervie attrs | Edwin Cheng | 2020-04-21 | 1 | -10/+96 |
| | |||||
* | Some clippy fixes | Jeremy Kolb | 2020-04-19 | 2 | -5/+5 |
| | |||||
* | Simplify Diagnostic structure | Aleksey Kladov | 2020-04-17 | 1 | -2/+1 |
| | | | | | | It's not entirely clear what subnode ranges should mean in the presence of macros, so let's leave them out for now. We are not using them heavily anyway. | ||||
* | Correctly highlight ranges of diagnostics from macros | Aleksey Kladov | 2020-04-17 | 1 | -1/+1 |
| | | | | closes #2799 | ||||
* | Don't expose impl details of SyntaxPtr | Aleksey Kladov | 2020-04-17 | 1 | -3/+1 |
| | |||||
* | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -0/+9 |
| | | | | | | The grammar now looks like this [name_ref :] pat | ||||
* | Forward compat | Aleksey Kladov | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Improve tt::Subtree debug print | Edwin Cheng | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Fix unnecessary braces warnings | Laurențiu Nicola | 2020-04-06 | 1 | -3/+3 |
| | |||||
* | Implement ra_proc_macro client logic | Edwin Cheng | 2020-03-31 | 1 | -1/+26 |
| | |||||
* | Merge #3727 | bors[bot] | 2020-03-26 | 1 | -15/+14 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -2/+3 |
| | | |||||
| * | Add ProcMacroClient | Edwin Cheng | 2020-03-25 | 1 | -16/+14 |
| | | |||||
* | | Get rid of ItemOrMacro | Aleksey Kladov | 2020-03-26 | 1 | -2/+0 |
|/ | |||||
* | Rename to CustomDerive | Edwin Cheng | 2020-03-25 | 4 | -4/+4 |
| | |||||
* | Refactoring a bit | Edwin Cheng | 2020-03-25 | 1 | -5/+5 |
| | |||||
* | Use dummy implementation | Edwin Cheng | 2020-03-25 | 1 | -2/+3 |
| | |||||
* | Add basic custom derive lowering | Edwin Cheng | 2020-03-25 | 6 | -19/+63 |
| | |||||
* | Generalise syntax rewriting infrastructure to allow removal of nodes | Aleksey Kladov | 2020-03-24 | 1 | -10/+7 |
| | |||||
* | Fix typo | Edwin Cheng | 2020-03-21 | 1 | -1/+1 |
| | |||||
* | Add identity expansion checking | Edwin Cheng | 2020-03-21 | 1 | -3/+21 |
| | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 1 | -5/+3 |
| | |||||
* | Turn ExpandResult into struct | Florian Diebold | 2020-03-16 | 1 | -8/+4 |
| | |||||
* | Add test, remove printlns | Florian Diebold | 2020-03-16 | 1 | -1/+0 |
| | |||||
* | wip | Florian Diebold | 2020-03-16 | 1 | -6/+10 |
| | |||||
* | Make MBE expansion more resilient (WIP) | Florian Diebold | 2020-03-16 | 1 | -41/+49 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 4 | -8/+8 |
| | | | | | | | 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). | ||||
* | ra_hir_expand: change the ordering of imports as per the formatter | Veetaha | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | ra_hir_expand: migrate to impl_intern_key!() | Veetaha | 2020-03-15 | 1 | -17/+3 |
| | |||||
* | Update comment | Edwin Cheng | 2020-03-11 | 1 | -4/+4 |
| | | | | Co-Authored-By: bjorn3 <[email protected]> | ||||
* | Implement dummy assert macro | Edwin Cheng | 2020-03-11 | 3 | -0/+58 |
| | |||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 1 | -1/+2 |
| | |||||
* | Add and fix tests | Edwin Cheng | 2020-03-10 | 1 | -60/+121 |
| |