32ee5bc6a3
(cherry picked from commit 2383985342
)
27 lines
604 B
Rust
27 lines
604 B
Rust
// Regression test for <https://github.com/rust-lang/rust/issues/134221>.
|
|
// It checks that even if there are comments in the attributes, the attributes
|
|
// will still be generated correctly (and therefore fail in this test).
|
|
|
|
//@ compile-flags:--test --test-args --test-threads=1
|
|
//@ failure-status: 101
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
//@ normalize-stdout-test: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
|
|
|
|
/*!
|
|
```rust
|
|
#![feature(
|
|
foo, //
|
|
)]
|
|
```
|
|
|
|
```rust
|
|
#![feature(
|
|
foo,
|
|
)]
|
|
```
|
|
|
|
```rust
|
|
#![
|
|
```
|
|
*/
|