]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/empty-doc-comment.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / rustdoc / empty-doc-comment.rs
1 // Ensure that empty doc comments don't panic.
2
3 /*!
4 */
5
6 ///
7 ///
8 pub struct Foo;
9
10 #[doc = "
11 "]
12 pub mod Mod {
13    //!
14    //!
15 }
16
17 /**
18 */
19 pub mod Another {
20    #![doc = "
21 "]
22 }