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:
Mazdak Farrokhzad 2019-02-09 00:15:46 +01:00 committed by GitHub
commit f674779012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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() }