Rollup merge of #58115 - h-michael:rustdoc-2018, r=Centril
Transition rustdoc to 2018 edition Transitions rustdoc to Rust 2018; cc #58099
This commit is contained in:
commit
f674779012
@ -2,6 +2,7 @@
|
||||
name = "rustdoc-tool"
|
||||
version = "0.0.0"
|
||||
authors = ["The Rust Project Developers"]
|
||||
edition = "2018"
|
||||
|
||||
# Cargo adds a number of paths to the dylib search path on windows, which results in
|
||||
# the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![deny(rust_2018_idioms)]
|
||||
|
||||
#![feature(link_args)]
|
||||
|
||||
#[allow(unused_attributes)]
|
||||
@ -10,6 +12,4 @@
|
||||
// See src/rustc/rustc.rs for the corresponding rustc settings.
|
||||
extern {}
|
||||
|
||||
extern crate rustdoc;
|
||||
|
||||
fn main() { rustdoc::main() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user