rust/tests/rustdoc-ui/doctest/doc-comment-multi-line-attr.rs

12 lines
324 B
Rust

// Regression test for #97440: Multiline inner attribute triggers ICE during doctest
//@ compile-flags:--test
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ check-pass
//! ```rust
//! #![deny(
//! unused_parens,
//! )]
//! ```