diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-02-29 20:37:32 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-02-29 21:59:09 +0300 |
| commit | e08c279eacfd37b8921378c8bd4ef8b8dc9bd176 (patch) | |
| tree | a0aba27f258d4c1cc2e9692e4e653f558c819784 /src/librustc_interface/proc_macro_decls.rs | |
| parent | 6054a30370209472f2af45d2a84a9a9796b3c64a (diff) | |
| download | rust-e08c279eacfd37b8921378c8bd4ef8b8dc9bd176.tar.gz rust-e08c279eacfd37b8921378c8bd4ef8b8dc9bd176.zip | |
Rename `syntax` to `rustc_ast` in source code
Diffstat (limited to 'src/librustc_interface/proc_macro_decls.rs')
| -rw-r--r-- | src/librustc_interface/proc_macro_decls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/proc_macro_decls.rs b/src/librustc_interface/proc_macro_decls.rs index 9238f88b2b5..076a8cef92c 100644 --- a/src/librustc_interface/proc_macro_decls.rs +++ b/src/librustc_interface/proc_macro_decls.rs @@ -1,10 +1,10 @@ use rustc::ty::query::Providers; use rustc::ty::TyCtxt; +use rustc_ast::attr; use rustc_hir as hir; use rustc_hir::def_id::{CrateNum, DefId, LOCAL_CRATE}; use rustc_hir::itemlikevisit::ItemLikeVisitor; use rustc_span::symbol::sym; -use syntax::attr; pub fn find(tcx: TyCtxt<'_>) -> Option<DefId> { tcx.proc_macro_decls_static(LOCAL_CRATE) |
