]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_builtin_macros/cfg.rs
Rollup merge of #68313 - batrla:master, r=alexcrichton
[rust.git] / src / librustc_builtin_macros / cfg.rs
index 6d97b94ab9f9f2ccbb7e4ec751cca5fcc0f85624..cee62a54f0088202704eb9c3ae9b1fbbf55b94e1 100644 (file)
@@ -1,14 +1,14 @@
-/// The compiler code necessary to support the cfg! extension, which expands to
-/// a literal `true` or `false` based on whether the given cfg matches the
-/// current compilation environment.
-use errors::DiagnosticBuilder;
+//! The compiler code necessary to support the cfg! extension, which expands to
+//! a literal `true` or `false` based on whether the given cfg matches the
+//! current compilation environment.
 
+use rustc_errors::DiagnosticBuilder;
 use rustc_expand::base::{self, *};
+use rustc_span::Span;
 use syntax::ast;
 use syntax::attr;
 use syntax::token;
 use syntax::tokenstream::TokenStream;
-use syntax_pos::Span;
 
 pub fn expand_cfg(
     cx: &mut ExtCtxt<'_>,