mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
312 B
Rust
12 lines
312 B
Rust
// Regression test for #97440: Multiline inner attribute triggers ICE during doctest
|
|
// compile-flags:--test
|
|
// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
// check-pass
|
|
|
|
//! ```rust
|
|
//! #![deny(
|
|
//! unused_parens,
|
|
//! )]
|
|
//! ```
|