rustdoc: Mark --extern-private as unstable

It's not even stable in rustc so it shouldn't be stable in rustdoc.
This commit is contained in:
Oliver Middleton 2019-11-23 00:15:39 +00:00
parent f1b882b558
commit 4fcb3384ad
2 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@ fn opts() -> Vec<RustcOptGroup> {
stable("extern", |o| {
o.optmulti("", "extern", "pass an --extern to rustc", "NAME[=PATH]")
}),
stable("extern-private", |o| {
unstable("extern-private", |o| {
o.optmulti("", "extern-private",
"pass an --extern to rustc (compatibility only)", "NAME=PATH")
}),

View File

@ -1,4 +1,5 @@
// aux-build:issue-66159-1.rs
// compile-flags:-Z unstable-options
// extern-private:issue_66159_1
// The issue was an ICE which meant that we never actually generated the docs