]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-12834.rs
Auto merge of #82898 - oli-obk:tait_🧊, r=nikomatsakis
[rust.git] / src / test / rustdoc / issue-12834.rs
1 // Tests that failing to syntax highlight a rust code-block doesn't cause
2 // rustdoc to fail, while still rendering the code-block (without highlighting).
3
4
5 // @has issue_12834/fn.foo.html
6 // @has - //pre 'a + b '
7
8 /// ```
9 /// a + b âˆˆ Self âˆ€ a, b âˆˆ Self
10 /// ```
11 pub fn foo() {}