We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c6b8c commit a6f2f7fCopy full SHA for a6f2f7f
src/tools/rustdoc/Cargo.toml
@@ -2,6 +2,7 @@
2
name = "rustdoc-tool"
3
version = "0.0.0"
4
authors = ["The Rust Project Developers"]
5
+edition = "2018"
6
7
# Cargo adds a number of paths to the dylib search path on windows, which results in
8
# the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool"
src/tools/rustdoc/main.rs
@@ -1,3 +1,5 @@
1
+#![deny(rust_2018_idioms)]
+
#![feature(link_args)]
#[allow(unused_attributes)]
@@ -10,6 +12,4 @@
10
12
// See src/rustc/rustc.rs for the corresponding rustc settings.
11
13
extern {}
14
-extern crate rustdoc;
-
15
fn main() { rustdoc::main() }
0 commit comments