Sign in
fuchsia
/
third_party
/
rust
/
d38d6be336e87055d90375c981806d5d133f446a
/
.
/
src
/
test
/
ui
/
custom_attribute.rs
blob: 9cb43ab07ad6d658712806f9bbd2baadb4e6dc4c [
file
] [
log
] [
blame
]
#![
feature
(
stmt_expr_attributes
)]
#[
foo
]
//~ ERROR The attribute `foo`
fn
main
()
{
#[
foo
]
//~ ERROR The attribute `foo`
let
x
=
();
#[
foo
]
//~ ERROR The attribute `foo`
x
}