5d3916d566
rustdoc: add an --edition flag to compile docs/doctests with a certain edition To correspond with the 2018 edition, this adds a (currently unstable) `--edition` flag to rustdoc that makes it compile crates and doctests with the given edition. Once this lands, Cargo should be updated to pass this flag when the edition configuration option is given. |
||
---|---|---|
.. | ||
clean | ||
html | ||
passes | ||
Cargo.toml | ||
core.rs | ||
doctree.rs | ||
externalfiles.rs | ||
fold.rs | ||
lib.rs | ||
markdown.rs | ||
plugins.rs | ||
README.md | ||
test.rs | ||
theme.rs | ||
visit_ast.rs | ||
visit_lib.rs |
For more information about how librustdoc
works, see the rustc guide.