Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#![feature(stmt_expr_attributes)]
fn foo() -> String {
#[cfg(FALSE)]
[1, 2, 3].iter().map(|c| c.to_string()).collect::<String>() //~ ERROR expected `;`, found `#`
#[cfg(not(FALSE))]
String::new()
}
fn bar() -> String {
#[attr]
#[attr] //~ ERROR cannot find attribute `attr` in this scope
fn main() {
println!("{}", foo());