Sign in
rust
/
rust
/
4e443455b4933fd2f82e4e8d6fbad5dfbb91b1e9
/
.
/
tests
/
rustdoc-ui
/
invalid-attribute.rs
blob: 2fc7be2cf341d5deca69b1ad3695ee38627fbca6 [
file
]
// 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
{}