Skip to content

Commit b75e943

Browse files
committed
get unstable-api compiling again
1 parent 49be8ef commit b75e943

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tools/unstable-api/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ edition = "2018"
88
version = "1"
99
features = ["full", "extra-traits", "visit"]
1010

11+
[dependencies.quote]
12+
version = "1"
13+
14+
[dependencies.proc-macro2]
15+
version = "1"
16+
1117
[dependencies.structopt]
1218
version = "0.3"
1319

tools/unstable-api/src/visit/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
use anyhow::{anyhow, ensure, Context, Error};
22
use syn::{
3-
export::{Span, ToTokens, TokenStream2 as TokenStream},
43
ext::IdentExt,
54
visit::{self, Visit},
65
};
6+
use quote::ToTokens;
7+
use proc_macro2::{Span, TokenStream};
78

89
use std::{fs, fmt, path::PathBuf};
910

0 commit comments

Comments
 (0)