Skip to content

Commit

Permalink
talk about force-unstable-if-unmarked
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Mar 20, 2018
1 parent 5e93394 commit 83e9f39
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/doc/rustdoc/src/unstable-features.md
Expand Up @@ -345,3 +345,16 @@ bug][issue-display-warnings], this flag doesn't 100% work as intended. See the l
details.

[issue-display-warnings]: https://github.com/rust-lang/rust/issues/41574

### `-Z force-unstable-if-unmarked`

Using this flag looks like this:

```bash
$ rustdoc src/lib.rs -Z force-unstable-if-unmarked
```

This is an internal flag intended for the standard library and compiler that applies an
`#[unstable]` attribute to any dependent crate that doesn't have another stability attribute. This
allows `rustdoc` to be able to generate documentation for the compiler crates and the standard
library, as an equivalent command-line argument is provided to `rustc` when building those crates.

0 comments on commit 83e9f39

Please sign in to comment.