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
325 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"
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
2022-05-26 16:55:29 -05:00
//@ check-pass
//! ```rust
//! #![deny(
//! unused_parens,
//! )]
//! ```