Add support for double quotes in markdown codeblock attributes
This commit is contained in:
parent
d829fee6b5
commit
4ce17fa30e
5 changed files with 145 additions and 49 deletions
17
tests/rustdoc-ui/custom_code_classes_in_docs-warning3.rs
Normal file
17
tests/rustdoc-ui/custom_code_classes_in_docs-warning3.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
// This test ensures that warnings are working as expected for "custom_code_classes_in_docs"
|
||||
// feature.
|
||||
|
||||
#![feature(custom_code_classes_in_docs)]
|
||||
#![deny(warnings)]
|
||||
#![feature(no_core)]
|
||||
#![no_core]
|
||||
|
||||
/// ```{class="}
|
||||
/// main;
|
||||
/// ```
|
||||
//~^^^ ERROR unclosed quote string
|
||||
//~| ERROR unclosed quote string
|
||||
/// ```"
|
||||
/// main;
|
||||
/// ```
|
||||
pub fn foo() {}
|
Loading…
Add table
Add a link
Reference in a new issue