]> 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 62a4dc06b1fe2b241eae6cfc4380ca51a359405f..cee62a54f0088202704eb9c3ae9b1fbbf55b94e1 100644 (file)
@@ -1,8 +1,8 @@
-/// 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;