Rename to proc_macro
diff --git a/README.md b/README.md
index c208aa8..815a4b1 100644
--- a/README.md
+++ b/README.md
@@ -21,21 +21,21 @@
quote = "0.3"
[lib]
-rustc-macro = true
+proc-macro = true
```
```rust
-#![feature(rustc_macro, rustc_macro_lib)]
+#![feature(proc_macro, proc_macro_lib)]
-extern crate rustc_macro;
-use rustc_macro::TokenStream;
+extern crate proc_macro;
+use proc_macro::TokenStream;
extern crate syn;
#[macro_use]
extern crate quote;
-#[rustc_macro_derive(MyMacro)]
+#[proc_macro_derive(MyMacro)]
pub fn my_macro(input: TokenStream) -> TokenStream {
let source = input.to_string();
@@ -67,17 +67,17 @@
and [`quote`](https://github.com/dtolnay/quote) looks like this:
```rust
-#![feature(rustc_macro, rustc_macro_lib)]
+#![feature(proc_macro, proc_macro_lib)]
-extern crate rustc_macro;
-use rustc_macro::TokenStream;
+extern crate proc_macro;
+use proc_macro::TokenStream;
extern crate syn;
#[macro_use]
extern crate quote;
-#[rustc_macro_derive(NumFields)]
+#[proc_macro_derive(NumFields)]
pub fn num_fields(input: TokenStream) -> TokenStream {
let source = input.to_string();
diff --git a/tests/cases/structs_enums.rs b/tests/cases/structs_enums.rs
index 40db045..1a7006e 100644
--- a/tests/cases/structs_enums.rs
+++ b/tests/cases/structs_enums.rs
@@ -1,4 +1,4 @@
-#![feature(rustc_macro)]
+#![feature(proc_macro)]
#[macro_use]
extern crate serde_derive;