rust/src/librustdoc
Mark Simulacrum 5d3916d566
Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomez
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.
2018-04-01 18:04:54 +02:00
..
clean Auto merge of #49201 - Phlosioneer:add-trivial-size-hints, r=SimonSapin 2018-03-31 06:40:56 +00:00
html Rename fs::read_string to read_to_string and stabilize 2018-03-30 10:20:58 -07:00
passes
Cargo.toml
core.rs Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomez 2018-04-01 18:04:54 +02:00
doctree.rs
externalfiles.rs
fold.rs
lib.rs Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomez 2018-04-01 18:04:54 +02:00
markdown.rs use --edition for doctests, rather than just the crate 2018-03-28 13:54:05 +02:00
plugins.rs
README.md
test.rs Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomez 2018-04-01 18:04:54 +02:00
theme.rs
visit_ast.rs AST/HIR: Clarify what the optional name in extern crate items mean 2018-03-17 22:12:21 +03:00
visit_lib.rs

For more information about how librustdoc works, see the rustc guide.