From a617f24eae6c02f087759312e9aa08507fbecdf0 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Wed, 18 Mar 2020 17:47:59 +0800 Subject: Add ra_proc_macro --- crates/ra_proc_macro/Cargo.toml | 13 +++++++++++++ crates/ra_proc_macro/src/lib.rs | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 crates/ra_proc_macro/Cargo.toml create mode 100644 crates/ra_proc_macro/src/lib.rs (limited to 'crates') diff --git a/crates/ra_proc_macro/Cargo.toml b/crates/ra_proc_macro/Cargo.toml new file mode 100644 index 000000000..a0fbb442d --- /dev/null +++ b/crates/ra_proc_macro/Cargo.toml @@ -0,0 +1,13 @@ +[package] +edition = "2018" +name = "ra_proc_macro" +version = "0.1.0" +authors = ["rust-analyzer developers"] +publish = false + +[lib] +doctest = false + +[dependencies] +ra_tt = { path = "../ra_tt" } +ra_mbe = { path = "../ra_mbe" } \ No newline at end of file diff --git a/crates/ra_proc_macro/src/lib.rs b/crates/ra_proc_macro/src/lib.rs new file mode 100644 index 000000000..31e1bb209 --- /dev/null +++ b/crates/ra_proc_macro/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} -- cgit v1.2.3