Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
ui
/
check-doc-alias-attr.rs
blob: b02cc1a4545b12b31e919576835afdef0062b445 [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
#![
feature
(
doc_alias
)]
#[
doc
(
alias
=
"foo"
)]
// ok!
pub
struct
Bar
;
#[
doc
(
alias
)]
//~ ERROR
#[
doc
(
alias
=
0
)]
//~ ERROR
#[
doc
(
alias
(
"bar"
))]
//~ ERROR
pub
struct
Foo
;