2016-04-25 10:20:32 -05:00
|
|
|
// Tests that failing to syntax highlight a rust code-block doesn't cause
|
|
|
|
// rustdoc to fail, while still rendering the code-block (without highlighting).
|
|
|
|
|
2021-11-26 17:03:16 -06:00
|
|
|
#![allow(rustdoc::invalid_rust_codeblocks)]
|
2016-04-25 10:20:32 -05:00
|
|
|
|
|
|
|
// @has issue_12834/fn.foo.html
|
|
|
|
// @has - //pre 'a + b '
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// a + b ∈ Self ∀ a, b ∈ Self
|
|
|
|
/// ```
|
|
|
|
pub fn foo() {}
|