rust/tests/rustdoc-ui/doctest/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
324 B
Rust
Raw Normal View History

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