rust/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.rs
2024-05-01 16:45:27 +02:00

17 lines
305 B
Rust

// This test ensures that warnings are working as expected for "custom_code_classes_in_docs"
// feature.
#![deny(warnings)]
#![feature(no_core)]
#![no_core]
/// ```{class="}
/// main;
/// ```
//~^^^ ERROR unclosed quote string
//~| ERROR unclosed quote string
/// ```"
/// main;
/// ```
pub fn foo() {}