Don't enable nightly feature of proc-macro2

This is no longer needed as of rustc 1.30.0 and the `proc-macro2` crate will now
automatically detect whether it can use spans or not!
This commit is contained in:
Alex Crichton 2018-08-28 17:24:43 -07:00
parent 447b42b7ac
commit 0fb31b2bc4
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ Backend code generation of the wasm-bindgen tool
"""
[features]
spans = ["proc-macro2/nightly"]
spans = []
extra-traits = ["syn/extra-traits"]
[dependencies]

View File

@ -11,7 +11,7 @@ The part of the implementation of the `#[wasm_bindgen]` attribute that is not in
"""
[features]
spans = ["proc-macro2/nightly", "wasm-bindgen-backend/spans"]
spans = ["wasm-bindgen-backend/spans"]
extra-traits = ["syn/extra-traits"]
[dependencies]

View File

@ -7,7 +7,7 @@ license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen"
[dependencies]
proc-macro2 = { version = "0.4", features = ['nightly'] }
proc-macro2 = "0.4"
quote = "0.6"
[lib]