Skip to content

Commit

Permalink
rustdoc: Mark --extern-private as unstable
Browse files Browse the repository at this point in the history
It's not even stable in rustc so it shouldn't be stable in rustdoc.
  • Loading branch information
ollie27 committed Nov 23, 2019
1 parent f1b882b commit 4fcb338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/lib.rs
Expand Up @@ -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")
}),
Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/issue-66159.rs
@@ -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
Expand Down

0 comments on commit 4fcb338

Please sign in to comment.