mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 17:26:12 +00:00
11 lines
254 B
Rust
11 lines
254 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
|
|
const _: () = ();
|
|
|
|
#[doc(attribute = "fooyi")] //~ ERROR
|
|
const _: () = ();
|