We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern crate
1 parent 7402a39 commit f7f9a6cCopy full SHA for f7f9a6c
src/librustdoc/lib.rs
@@ -16,6 +16,12 @@
16
17
#[macro_use]
18
extern crate lazy_static;
19
+#[macro_use]
20
+extern crate tracing;
21
+
22
+// N.B. these need `extern crate` even in 2018 edition
23
+// because they're loaded implicitly from the sysroot.
24
+// Dependencies listed in Cargo.toml do not need extern crate.
25
extern crate rustc_ast;
26
extern crate rustc_ast_pretty;
27
extern crate rustc_attr;
@@ -42,8 +48,6 @@ extern crate rustc_target;
42
48
extern crate rustc_trait_selection;
43
49
extern crate rustc_typeck;
44
50
extern crate test as testing;
45
-#[macro_use]
46
-extern crate tracing;
47
51
52
use std::default::Default;
53
use std::env;
0 commit comments