Sign in
fuchsia
/
third_party
/
rust
/
fad27df3e7aafbd83341df34d397fe4015f69679
/
.
/
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
}