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).
|
2023-09-27 19:22:18 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/12834
|
2016-04-25 10:20:32 -05:00
|
|
|
|
2023-09-27 18:51:21 -05:00
|
|
|
#![crate_name="issue_12834"]
|
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() {}
|