summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.rs
blob: 57d9038cb0ce14166ce800b77691c270cae42e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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() {}