With Rust 1.16.0, the following snippet is parsed correctly by rustdoc:
//! ```text, no_run
//! 'aa'
//! ```
However, this appears to be broken on the latest nightly (tested on 53f4bc311 2017-04-07). The code block appears to be interpreted as rust code, giving this error:
error: character literal may only contain one codepoint: 'aa'
--> <stdin>:1:1
|
1 | 'aa'
| ^^^^
With Rust 1.16.0, the following snippet is parsed correctly by
rustdoc:However, this appears to be broken on the latest
nightly(tested on53f4bc311 2017-04-07). The code block appears to be interpreted as rust code, giving this error: