rust-analyzer/crates/ra_hir_def/src/nameres
bors[bot] ef2a9aedb6
Merge #2205
2205: Implement bulitin line! macro r=matklad a=edwin0cheng

This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros:

1. Extend `MacroDefId` to support builtin macros
2. Add a `quote!` macro for simple quasi quoting.

Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :)

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-11-11 10:53:24 +00:00
..
tests Restore crate_def_map marks 2019-11-03 23:44:23 +03:00
collector.rs Merge #2205 2019-11-11 10:53:24 +00:00
mod_resolution.rs Reduce visibility 2019-11-04 21:42:25 +03:00
path_resolution.rs Extract path resolution submodule 2019-11-09 00:17:17 +03:00
per_ns.rs Move Namespace enum closer to usage 2019-11-04 23:02:35 +03:00
raw.rs Add basic bultin macro infrastructure 2019-11-11 14:13:31 +08:00
tests.rs Add tests for resolving types in core and std preludes 2019-11-09 17:38:08 -08:00