rust/src/test/rustdoc/issue-12834.rs

12 lines
284 B
Rust

// Tests that failing to syntax highlight a rust code-block doesn't cause
// rustdoc to fail, while still rendering the code-block (without highlighting).
// @has issue_12834/fn.foo.html
// @has - //pre 'a + b '
/// ```
/// a + b ∈ Self ∀ a, b ∈ Self
/// ```
pub fn foo() {}