From a10a0c8cfd17de2182bed3a1e03aca0f7c2587c6 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 21 May 2018 07:30:10 -0700 Subject: [PATCH] Revert "Disable the `span` feature temporarily" This reverts commit 45b68870dc6cc58d7a272c470bc1ea20fa42d694. --- crates/backend/Cargo.toml | 2 +- crates/macro/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 263256fb..dae14fcb 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -11,7 +11,7 @@ Backend code generation of the wasm-bindgen tool """ [features] -spans = [] +spans = ["proc-macro2/nightly"] [dependencies] quote = '0.6' diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 92a6a18c..cb75fd75 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -14,7 +14,7 @@ Definition of the `#[wasm_bindgen]` attribute, an internal dependency proc-macro = true [features] -spans = ["wasm-bindgen-backend/spans"] +spans = ["proc-macro2/nightly", "wasm-bindgen-backend/spans"] [dependencies] syn = { version = '0.14', features = ['full'] }