mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
25 lines
185 B
Rust
25 lines
185 B
Rust
// Ensure that empty doc comments don't panic.
|
|
|
|
//@ check-pass
|
|
|
|
/*!
|
|
*/
|
|
|
|
///
|
|
///
|
|
pub struct Foo;
|
|
|
|
#[doc = "
|
|
"]
|
|
pub mod Mod {
|
|
//!
|
|
//!
|
|
}
|
|
|
|
/**
|
|
*/
|
|
pub mod Another {
|
|
#![doc = "
|
|
"]
|
|
}
|