rustdoc seems to ignore edition2018
attribute
#58875
Labels
A-doctests
Area: Documentation tests, run by rustdoc
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Running
with the following content of test.md
gives me
The test passes when I uncomment
extern crate clap
.This is a problem when code blocks in the documentation should get tested, see amethyst/amethyst#1364 (comment) for an example.
Meta
rustdoc --version --verbose
:rustdoc 1.34.0-nightly (aadbc45 2019-02-23)
binary: rustdoc
commit-hash: aadbc45
commit-date: 2019-02-23
host: x86_64-unknown-linux-gnu
release: 1.34.0-nightly
LLVM version: 8.0
The text was updated successfully, but these errors were encountered: