Edwin Cheng
|
f5bf1a9650
|
Fix builtin macros split exprs on comma
|
2021-02-28 13:06:17 +08:00 |
|
Laurențiu Nicola
|
4e92681aba
|
Disallow non-boolean literals in concat!
|
2021-01-25 13:31:03 +02:00 |
|
Laurențiu Nicola
|
ee8c678870
|
Unquote strings and handle boolean literals in concat!
|
2021-01-25 13:02:57 +02:00 |
|
Edwin Cheng
|
74a557857b
|
Fix == in in format causes mismatched-arg-count
|
2020-12-31 17:59:29 +08:00 |
|
Jonas Schievink
|
26f604b907
|
Store invocation site for eager macros
|
2020-12-22 15:02:03 +01:00 |
|
Jonas Schievink
|
b238ddd21a
|
Make macro def krate mandatory
Refactors builtin derive support to go through proper name resolution
|
2020-12-15 20:33:05 +01:00 |
|
Jonas Schievink
|
c31c3246a8
|
Basic support for decl macros 2.0
|
2020-12-15 18:43:34 +01:00 |
|
Jonas Schievink
|
c1cb595382
|
Move to upstream macro_rules! model
|
2020-12-15 15:37:37 +01:00 |
|
lf-
|
090a59970d
|
Resolve macro-error diagnostics on asm & llvm_asm
We currently stub these out as returning unit.
This fixes spurious RA diagnostics in the following:
```rust
unsafe { asm!(""); llvm_asm!(""); }
```
|
2020-12-15 01:06:53 -08:00 |
|
Jonas Schievink
|
81820fe52c
|
Implement module_path!()
|
2020-12-14 16:38:53 +01:00 |
|
Jonas Schievink
|
948832d10b
|
format_args: handle key-value arguments
|
2020-12-10 13:46:47 +01:00 |
|
Aleksey Kladov
|
6e24321e45
|
Introduce anchored_path
They allow to represent paths like `#[path = "C:\path.rs"] mod foo;`
in a lossless cross-platform & network-transparent way.
|
2020-12-09 19:07:05 +03:00 |
|
Jonas Schievink
|
bb28aef918
|
Fix concat! with integer literals
|
2020-12-08 20:06:41 +01:00 |
|
Jonas Schievink
|
957fb18799
|
Make compile_error! message match upstream rustc
It only consists of the argument passed to it
|
2020-12-03 19:07:37 +01:00 |
|
Jonas Schievink
|
883c8d177d
|
Make compile_error! lazy and emit a diagnostic
|
2020-12-03 15:48:29 +01:00 |
|
Jonas Schievink
|
4634bfb332
|
Give better diagnostic if OUT_DIR is unset
|
2020-12-03 15:48:29 +01:00 |
|
Jonas Schievink
|
92f52c5c9a
|
builtin_macro: move to mbe::ExpandResult
|
2020-11-30 19:21:25 +01:00 |
|
Aleksey Kladov
|
6158304f8b
|
Simplify
|
2020-11-06 22:30:58 +01:00 |
|
Aleksey Kladov
|
b7aa4898e0
|
Rename ra_hir_expand -> hir_expand
|
2020-08-13 16:29:33 +02:00 |
|