]> git.lizzy.rs Git - rust.git/blob - tests/ui/custom_attribute.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / custom_attribute.rs
1 #![feature(stmt_expr_attributes)]
2
3 #[foo] //~ ERROR cannot find attribute `foo` in this scope
4 fn main() {
5     #[foo] //~ ERROR cannot find attribute `foo` in this scope
6     let x = ();
7     #[foo] //~ ERROR cannot find attribute `foo` in this scope
8     x
9 }