rust/tests/rustdoc-ui/doctest/block-doc-comment.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
326 B
Rust
Raw Normal View History

// check-pass
// compile-flags:--test
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// This test ensures that no code block is detected in the doc comments.
pub mod Wormhole {
/** # Returns
*
*/
pub fn foofoo() {}
/**
* # Returns
*
*/
pub fn barbar() {}
}