Jonas Schievink
|
baab72e611
|
Reduce visibility of non-proc-macros
proc-macro crates only export proc-macros, but currently other items
are also considered public (and show up in completion)
|
2020-09-18 17:50:04 +02:00 |
|
Jonas Schievink
|
069045015c
|
Remove obsolete proc macro collection code
The new attribute-based resolution takes care of this
|
2020-09-18 16:52:24 +02:00 |
|
Jonas Schievink
|
5486b70bc0
|
Use hir_def to resolve proc macros
|
2020-09-18 16:43:50 +02:00 |
|
Jonas Schievink
|
9dc0afe854
|
Rename CustomDerive to ProcMacro
It handles fn-like macros too, and will handle attribute macros in the
future
|
2020-09-18 15:37:31 +02:00 |
|
Jonas Schievink
|
700a3d5d75
|
Invert condition to unindent code
|
2020-09-18 12:32:07 +02:00 |
|
Jonas Schievink
|
6eea06415d
|
Give ExternCrate a Name , not a ModPath
|
2020-09-17 15:28:23 +02:00 |
|
Jonas Schievink
|
0dca7acf0f
|
Don't diagnose imports whose base crate is missing
|
2020-09-17 14:48:17 +02:00 |
|
Jonas Schievink
|
4785162b08
|
Track import sources and emit diagnostics
|
2020-09-16 17:26:51 +02:00 |
|
Jonas Schievink
|
4ac9a2e5d3
|
Leave extern crate items unresolved if they are
|
2020-09-16 17:26:51 +02:00 |
|
Jonas Schievink
|
2a9a66d254
|
Add diagnostic types for unresolved crates/imports
|
2020-09-16 17:26:51 +02:00 |
|
Aleksey Kladov
|
b28c54a2c2
|
Rename ra_hir_def -> hir_def
|
2020-08-13 16:29:33 +02:00 |
|