aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/builtin_macro.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix `==` in in format causes mismatched-arg-countEdwin Cheng2020-12-311-1/+2
|
* Store invocation site for eager macrosJonas Schievink2020-12-221-2/+3
|
* Make macro def krate mandatoryJonas Schievink2020-12-151-4/+4
| | | | Refactors builtin derive support to go through proper name resolution
* Basic support for decl macros 2.0Jonas Schievink2020-12-151-8/+11
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-6/+10
|
* Resolve `macro-error` diagnostics on asm & llvm_asmlf-2020-12-151-0/+15
| | | | | | | | | We currently stub these out as returning unit. This fixes spurious RA diagnostics in the following: ```rust unsafe { asm!(""); llvm_asm!(""); } ```
* Implement `module_path!()`Jonas Schievink2020-12-141-0/+10
|
* format_args: handle key-value argumentsJonas Schievink2020-12-101-0/+6
|
* Introduce anchored_pathAleksey Kladov2020-12-091-2/+3
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Fix `concat!` with integer literalsJonas Schievink2020-12-081-8/+34
|
* Make `compile_error!` message match upstream rustcJonas Schievink2020-12-031-4/+1
| | | | It only consists of the argument passed to it
* Make `compile_error!` lazy and emit a diagnosticJonas Schievink2020-12-031-21/+27
|
* Give better diagnostic if `OUT_DIR` is unsetJonas Schievink2020-12-031-9/+17
|
* builtin_macro: move to `mbe::ExpandResult`Jonas Schievink2020-11-301-50/+79
|
* SimplifyAleksey Kladov2020-11-061-1/+1
|
* Rename ra_hir_expand -> hir_expandAleksey Kladov2020-08-131-0/+649