mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
18 lines
346 B
Rust
18 lines
346 B
Rust
// 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() {}
|