diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-09-14 21:58:20 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-09-16 10:57:06 +1200 |
| commit | e9f1b063295c48c97e239ce479b08f192a3eece4 (patch) | |
| tree | d0f72439a2b01ecdba8675bf82d37f92eeec7950 /src/librustc/plugin | |
| parent | d2e13e822a73e0ea46ae9e21afdd3155fc997f6d (diff) | |
| download | rust-e9f1b063295c48c97e239ce479b08f192a3eece4.tar.gz rust-e9f1b063295c48c97e239ce479b08f192a3eece4.zip | |
Use ast attributes every where (remove HIR attributes).
This could be a [breaking-change] if your lint or syntax extension (is that even possible?) uses HIR attributes or literals.
Diffstat (limited to 'src/librustc/plugin')
| -rw-r--r-- | src/librustc/plugin/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/plugin/build.rs b/src/librustc/plugin/build.rs index 55fd63b7534..ea85b264261 100644 --- a/src/librustc/plugin/build.rs +++ b/src/librustc/plugin/build.rs @@ -11,12 +11,12 @@ //! Used by `rustc` when compiling a plugin crate. use syntax::ast; +use syntax::attr; use syntax::codemap::Span; use syntax::diagnostic; use rustc_front::visit; use rustc_front::visit::Visitor; use rustc_front::hir; -use rustc_front::attr; struct RegistrarFinder { registrars: Vec<(ast::NodeId, Span)> , |
