]> git.lizzy.rs Git - rust.git/blob - src/test/ui/custom_attribute.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / 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 }