mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Add ra_proc_macro
This commit is contained in:
parent
3d38d4dc94
commit
a617f24eae
3 changed files with 28 additions and 0 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -1081,6 +1081,14 @@ dependencies = [
|
||||||
"drop_bomb",
|
"drop_bomb",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ra_proc_macro"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"ra_mbe",
|
||||||
|
"ra_tt",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ra_prof"
|
name = "ra_prof"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
13
crates/ra_proc_macro/Cargo.toml
Normal file
13
crates/ra_proc_macro/Cargo.toml
Normal 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" }
|
7
crates/ra_proc_macro/src/lib.rs
Normal file
7
crates/ra_proc_macro/src/lib.rs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn it_works() {
|
||||||
|
assert_eq!(2 + 2, 4);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue