Skip to content

Commit a617f24

Browse files
committed
Add ra_proc_macro
1 parent 3d38d4d commit a617f24

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

Cargo.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ra_proc_macro/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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" }

crates/ra_proc_macro/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

0 commit comments

Comments
 (0)