aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/macros.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge #7907bors[bot]2021-03-241-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 publiccynecx2021-03-201-2/+2
| |
* | use the included file as the source of expanded include macroYilin Chen2021-03-211-0/+23
|/ | | | Signed-off-by: Yilin Chen <[email protected]>
* Handle inner recursive macro rules casesEdwin Cheng2021-03-181-0/+22
|
* Fix macro expansion for statements w/o semicolonEdwin Cheng2021-03-161-0/+16
|
* Infra for "unit" benchmarkingAleksey Kladov2021-02-091-11/+12
|
* Proper handling $crate Take 2Edwin Cheng2021-01-071-0/+31
|
* Revert "Proper handling $crate and local_inner_macros"Jonas Schievink2021-01-031-31/+0
|
* Fixed nested eager macro bugEdwin Cheng2021-01-031-0/+46
|
* Introduce HygieneFrames for proper token hygineeEdwin Cheng2021-01-021-0/+31
|
* Make macro def krate mandatoryJonas Schievink2020-12-151-0/+6
| | | | Refactors builtin derive support to go through proper name resolution
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-1/+0
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_hir_ty -> hir_tyAleksey Kladov2020-08-131-0/+787