mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add proc_macro mod (copy from lib_proc_macro)
This commit is contained in:
parent
40616fdb49
commit
b2844917ad
11 changed files with 2943 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
//! * By **copying** the whole rustc `lib_proc_macro` code, we are able to build this with `stable`
|
||||
//! rustc rather than `unstable`. (Although in gerenal ABI compatibility is still an issue)
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[doc(hidden)]
|
||||
mod proc_macro;
|
||||
|
||||
use ra_proc_macro::{ExpansionResult, ExpansionTask, ListMacrosResult, ListMacrosTask};
|
||||
|
||||
pub fn expand_task(_task: &ExpansionTask) -> Result<ExpansionResult, String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue