mirror of https://github.com/rust-lang/rust
12 lines
325 B
Rust
12 lines
325 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,
|
|
//! )]
|
|
//! ```
|