1
Fork 0

Add test for empty doc comments with a backline

This commit is contained in:
Guillaume Gomez 2022-04-08 15:30:53 +02:00
parent 43d0497824
commit 5e8bd9bbaa

View file

@ -0,0 +1,22 @@
// Ensure that empty doc comments don't panic.
/*!
*/
///
///
pub struct Foo;
#[doc = "
"]
pub mod Mod {
//!
//!
}
/**
*/
pub mod Another {
#![doc = "
"]
}