]> git.lizzy.rs Git - rust.git/blob - src/test/ui/custom_attribute.rs
Extend invalid floating point literal suffix suggestion
[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 }