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