aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/macros.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement per-edition preludesJonas Schievink2021-06-011-17/+33
|
* Remove fragment kind knowledge from builtin macrosJonas Schievink2021-05-291-0/+18
|
* hir_ty: cleanups and extend infinitely_recursive_macro_type testcynecx2021-04-181-5/+9
|
* hir_ty: keep body::Expander in TyLoweringContextcynecx2021-04-181-0/+26
|
* hir_ty: Expand macros at type positioncynecx2021-04-171-0/+169
|
* Support macros in pattern positionJonas Schievink2021-04-111-1/+1
|
* Fix block inner item defined in macroEdwin Cheng2021-03-311-0/+26
|
* Basic Support Macro 2.0Edwin Cheng2021-03-271-1/+82
|
* Fix recursive macro statement expansionEdwin Cheng2021-03-251-1/+39
|
* 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