Lukas Wirth
|
5d951a6a46
|
fix: Fix token downmapping being quadratic
|
2023-12-08 15:26:38 +01:00 |
|
David Barsky
|
c17dcc8d90
|
internal: switch to Arc::from_iter
|
2023-12-06 13:08:45 -05:00 |
|
Lukas Wirth
|
80dc20f7d8
|
fix: Don't print proc-macro panic backtraces in the logs
|
2023-12-06 17:49:48 +01:00 |
|
Lukas Wirth
|
634d588fd7
|
Simplify
|
2023-12-06 14:36:39 +01:00 |
|
Lukas Wirth
|
9cb13b6efb
|
Allow navigation targets to be duplicated when the focus range lies in the macro definition site
|
2023-12-06 12:38:19 +01:00 |
|
Lukas Wirth
|
5b8e386bae
|
Improve macro descension API
|
2023-12-05 17:06:57 +01:00 |
|
Igor Matuszewski
|
a7224c998d
|
Don't explicitly warn against semicolon_in_expressions_from_macros
This has been warn-by-default for two years now and has already been
added to the future-incompat lints in 1.68.
|
2023-12-05 11:35:09 +01:00 |
|
Lukas Wirth
|
18f1a3c3c6
|
Some final touches
|
2023-12-03 20:20:59 +01:00 |
|
Lukas Wirth
|
81410ab500
|
Cleanup FileId stuff
|
2023-12-02 19:32:53 +01:00 |
|
Lukas Wirth
|
02a3a9438a
|
Some more minor cleanups
|
2023-12-02 17:04:13 +01:00 |
|
Lukas Wirth
|
5edf7bddc6
|
Fix mod item in included file resolving incorrectly
|
2023-12-02 13:49:09 +01:00 |
|
Lukas Wirth
|
d2a31acda1
|
Fix macro expansion expression parenthesis wrapping
|
2023-12-02 13:03:46 +01:00 |
|
Lukas Wirth
|
efa67294ed
|
Fix eager macro input spans being discarded
|
2023-12-01 16:29:58 +01:00 |
|
Lukas Wirth
|
c11737cd63
|
Simplify include handling
|
2023-12-01 14:58:57 +01:00 |
|
Lukas Wirth
|
0003e568ca
|
Pass calling span through to builtin macro expansions
|
2023-12-01 14:11:57 +01:00 |
|
Lukas Wirth
|
f48fa0c6cb
|
Re-implement syntax fixups
|
2023-11-29 16:00:39 +01:00 |
|
Lukas Wirth
|
7a8c4c001b
|
Turn macro_expand from query to normal function
|
2023-11-28 17:23:51 +01:00 |
|
Lukas Wirth
|
b98597f06d
|
Re-enable proc-macros
|
2023-11-28 16:28:56 +01:00 |
|
Lukas Wirth
|
98cfdde8ba
|
Thinner TokenMap
|
2023-11-28 10:56:25 +01:00 |
|
Lukas Wirth
|
92d447f976
|
🧹
|
2023-11-28 10:55:40 +01:00 |
|
Lukas Wirth
|
ab8f12e169
|
Rename hygiene vars and fields to span_map
|
2023-11-28 10:55:40 +01:00 |
|
Lukas Wirth
|
c43078f99d
|
Re-implement InFile wrappers as type aliases over generic InFileWrapper
|
2023-11-28 10:55:40 +01:00 |
|
Lukas Wirth
|
30093a6d81
|
spans always come from real file
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
394d11b0fa
|
Fix float-split hack not setting up spans correctly
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
05f375eae2
|
hygiene 2.0
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
e36b3f7b8c
|
Proper span representation with syntax context
|
2023-11-28 10:55:39 +01:00 |
|
Lukas Wirth
|
890eb17b4e
|
Replace ID based TokenMap with proper relative text-ranges / spans
|
2023-11-28 10:55:39 +01:00 |
|
bors
|
58de0b130a
|
Auto merge of #15902 - lnicola:bump-deps, r=Veykril
internal: Bump deps pt. 1
|
2023-11-15 19:37:06 +00:00 |
|
Lukas Wirth
|
e8c4007cfc
|
Fix builtin line! expansion
|
2023-11-15 14:06:10 +01:00 |
|
Laurențiu Nicola
|
cb8434e594
|
Bump either
|
2023-11-15 13:07:36 +02:00 |
|
Laurențiu Nicola
|
f53368dd3f
|
Bump tracing
|
2023-11-15 13:00:32 +02:00 |
|
Laurențiu Nicola
|
f66df10f87
|
Bump itertools
|
2023-11-15 12:53:56 +02:00 |
|
Laurențiu Nicola
|
9826717550
|
Improve check for include macro
|
2023-11-10 16:53:08 +02:00 |
|
luoyangze.ptrl
|
b76f2c8ee0
|
fix: using name(include) instead of str
|
2023-11-02 10:14:54 +08:00 |
|
luoyangze.ptrl
|
740a864b7c
|
feat: skip checking tt count for include macro call
|
2023-11-02 00:27:11 +08:00 |
|
Lukas Wirth
|
2b9dde14ab
|
Allocate ast ids for parameters
|
2023-09-28 13:16:11 +02:00 |
|
Lukas Wirth
|
c0e402637e
|
Emit builtin#format_args in builtin format_args expander
|
2023-09-06 18:08:20 +02:00 |
|
Lukas Wirth
|
e243a03da1
|
Desugar builtin#format_args
|
2023-09-06 15:21:41 +02:00 |
|
Lukas Wirth
|
abe8f1ece4
|
Implement builtin#format_args, using rustc's format_args parser
|
2023-09-05 19:19:46 +02:00 |
|
Lukas Wirth
|
15048304e3
|
Implement offset_of in hir-def and hir-ty
|
2023-09-05 12:27:52 +02:00 |
|
Lukas Wirth
|
9b8eb807a3
|
Parse builtin# syntax
|
2023-09-05 10:36:35 +02:00 |
|
hkalbasi
|
fa76f60cc1
|
Run cargo fmt on 1.72
|
2023-08-25 22:24:41 +03:30 |
|
Lukas Wirth
|
53b292478d
|
internal: Add offset param to token descending API
|
2023-08-16 10:07:18 +02:00 |
|
Lukas Wirth
|
9adff006e8
|
Simplify
|
2023-08-10 20:10:19 +02:00 |
|
Lukas Wirth
|
e5b23e3bc1
|
Derive block attributes from block item tree
|
2023-08-10 18:52:27 +02:00 |
|
Lukas Wirth
|
75607fc34c
|
Simplify
|
2023-08-01 17:47:52 +02:00 |
|
Lukas Wirth
|
d999d34e39
|
Don't bail eager expansion when inner macros fail to resolve
|
2023-08-01 11:26:30 +02:00 |
|
Lukas Wirth
|
c7b34e4873
|
fix: Strip unused token ids from eager macro input token maps
|
2023-07-31 17:12:17 +02:00 |
|
Lukas Wirth
|
bf5624664d
|
fix: Remove another faulty unwrap (expect)
|
2023-07-31 16:47:45 +02:00 |
|
Lukas Wirth
|
7c765d9f9e
|
fix: Expand eager macros to delimited comma separated expression list
|
2023-07-30 17:31:26 +02:00 |
|