aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-18 09:47:59 +0000
committerEdwin Cheng <[email protected]>2020-03-25 17:30:39 +0000
commita617f24eae6c02f087759312e9aa08507fbecdf0 (patch)
tree157157d206ef8e6c73272a28e579a64625b2b2a3 /crates
parent3d38d4dc9445de783d5efbc72fbdceaa094f23c3 (diff)
Add ra_proc_macro
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_proc_macro/Cargo.toml13
-rw-r--r--crates/ra_proc_macro/src/lib.rs7
2 files changed, 20 insertions, 0 deletions
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 @@
1[package]
2edition = "2018"
3name = "ra_proc_macro"
4version = "0.1.0"
5authors = ["rust-analyzer developers"]
6publish = false
7
8[lib]
9doctest = false
10
11[dependencies]
12ra_tt = { path = "../ra_tt" }
13ra_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 @@
1#[cfg(test)]
2mod tests {
3 #[test]
4 fn it_works() {
5 assert_eq!(2 + 2, 4);
6 }
7}