os-rust/src/test/rustdoc-ui/doc-comment-multi-line-attr.rs

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

12 lines
335 B
Rust
Raw Normal View History

2022-05-26 22:55:29 +01:00
// Regression test for #97440: Multiline (more than 2 lines) inner attribute triggers ICE during doctest
// compile-flags:--test
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// check-pass
//! ```rust
//! #![deny(
//! unused_parens,
//! )]
//! ```