diff options
author | Edwin Cheng <[email protected]> | 2020-03-18 09:47:59 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-03-25 17:30:39 +0000 |
commit | a617f24eae6c02f087759312e9aa08507fbecdf0 (patch) | |
tree | 157157d206ef8e6c73272a28e579a64625b2b2a3 /crates/ra_proc_macro | |
parent | 3d38d4dc9445de783d5efbc72fbdceaa094f23c3 (diff) |
Add ra_proc_macro
Diffstat (limited to 'crates/ra_proc_macro')
-rw-r--r-- | crates/ra_proc_macro/Cargo.toml | 13 | ||||
-rw-r--r-- | crates/ra_proc_macro/src/lib.rs | 7 |
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] | ||
2 | edition = "2018" | ||
3 | name = "ra_proc_macro" | ||
4 | version = "0.1.0" | ||
5 | authors = ["rust-analyzer developers"] | ||
6 | publish = false | ||
7 | |||
8 | [lib] | ||
9 | doctest = false | ||
10 | |||
11 | [dependencies] | ||
12 | ra_tt = { path = "../ra_tt" } | ||
13 | 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 @@ | |||
1 | #[cfg(test)] | ||
2 | mod tests { | ||
3 | #[test] | ||
4 | fn it_works() { | ||
5 | assert_eq!(2 + 2, 4); | ||
6 | } | ||
7 | } | ||