Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
}