diff options
Diffstat (limited to 'src/librustdoc/lib.rs')
-rw-r--r-- | src/librustdoc/lib.rs | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 8220df5d4..67f5ea5d9 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -6,6 +6,7 @@ #![feature(array_methods)] #![feature(assert_matches)] #![feature(box_patterns)] +#![feature(if_let_guard)] #![feature(impl_trait_in_assoc_type)] #![feature(iter_intersperse)] #![feature(lazy_cell)] @@ -430,8 +431,8 @@ fn opts() -> Vec<RustcOptGroup> { o.optopt( "", "resource-suffix", - "suffix to add to CSS and JavaScript files, e.g., \"light.css\" will become \ - \"light-suffix.css\"", + "suffix to add to CSS and JavaScript files, e.g., \"search-index.js\" will \ + become \"search-index-suffix.js\"", "PATH", ) }), @@ -503,13 +504,6 @@ fn opts() -> Vec<RustcOptGroup> { "PATH", ) }), - unstable("disable-per-crate-search", |o| { - o.optflagmulti( - "", - "disable-per-crate-search", - "disables generating the crate selector on the search box", - ) - }), unstable("persist-doctests", |o| { o.optopt( "", @@ -656,6 +650,9 @@ fn opts() -> Vec<RustcOptGroup> { "[rust]", ) }), + unstable("html-no-source", |o| { + o.optflag("", "html-no-source", "Disable HTML source code pages generation") + }), ] } |