Add ra_proc_macro

This commit is contained in:
Edwin Cheng 2020-03-18 17:47:59 +08:00
parent 3d38d4dc94
commit a617f24eae
3 changed files with 28 additions and 0 deletions

8
Cargo.lock generated
View File

@ -1081,6 +1081,14 @@ dependencies = [
"drop_bomb",
]
[[package]]
name = "ra_proc_macro"
version = "0.1.0"
dependencies = [
"ra_mbe",
"ra_tt",
]
[[package]]
name = "ra_prof"
version = "0.1.0"

View File

@ -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" }

View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}