Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Basic Support Macro 2.0 | Edwin Cheng | 2021-03-27 | 1 | -1/+82 |
| | |||||
* | Fix recursive macro statement expansion | Edwin Cheng | 2021-03-25 | 1 | -1/+39 |
| | |||||
* | Merge #7907 | bors[bot] | 2021-03-24 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7907: Autoderef with visibility r=cynecx a=cynecx Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7841. I am not sure about the general approach here. Right now this simply tries to check whether the autoderef candidate is reachable from the current module. ~~However this doesn't exactly work with traits (see the `tests::macros::infer_derive_clone_in_core` test, which fails right now).~~ see comment below Refs: - `rustc_typeck` checking fields: https://github.com/rust-lang/rust/blob/66ec64ccf31883cd2c28d045912a76179c0c6ed2/compiler/rustc_typeck/src/check/expr.rs#L1610 r? @flodiebold Co-authored-by: cynecx <[email protected]> | ||||
| * | hir_ty: fix tests by making required methods public | cynecx | 2021-03-20 | 1 | -2/+2 |
| | | |||||
* | | use the included file as the source of expanded include macro | Yilin Chen | 2021-03-21 | 1 | -0/+23 |
|/ | | | | Signed-off-by: Yilin Chen <[email protected]> | ||||
* | Handle inner recursive macro rules cases | Edwin Cheng | 2021-03-18 | 1 | -0/+22 |
| | |||||
* | Fix macro expansion for statements w/o semicolon | Edwin Cheng | 2021-03-16 | 1 | -0/+16 |
| | |||||
* | Infra for "unit" benchmarking | Aleksey Kladov | 2021-02-09 | 1 | -11/+12 |
| | |||||
* | Proper handling $crate Take 2 | Edwin Cheng | 2021-01-07 | 1 | -0/+31 |
| | |||||
* | Revert "Proper handling $crate and local_inner_macros" | Jonas Schievink | 2021-01-03 | 1 | -31/+0 |
| | |||||
* | Fixed nested eager macro bug | Edwin Cheng | 2021-01-03 | 1 | -0/+46 |
| | |||||
* | Introduce HygieneFrames for proper token hyginee | Edwin Cheng | 2021-01-02 | 1 | -0/+31 |
| | |||||
* | Make macro def krate mandatory | Jonas Schievink | 2020-12-15 | 1 | -0/+6 |
| | | | | Refactors builtin derive support to go through proper name resolution | ||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -1/+0 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_hir_ty -> hir_ty | Aleksey Kladov | 2020-08-13 | 1 | -0/+787 |