mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
11 lines
241 B
Rust
11 lines
241 B
Rust
// Testing the output when an invalid builtin attribute is passed as value
|
|
// to `doc(attribute = "...")`.
|
|
|
|
#![feature(rustdoc_internals)]
|
|
|
|
#[doc(attribute = "foo df")] //~ ERROR
|
|
mod foo {}
|
|
|
|
#[doc(attribute = "fooyi")] //~ ERROR
|
|
mod foo2 {}
|