blob: 4769607ff395d4038f2ffd83fde2b9f97b5dc8b4 [file] [log] [blame]
// aux-build:attributes-included.rs
// build-pass (FIXME(62277): could be check-pass?)
#![warn(unused)]
extern crate attributes_included;
use attributes_included::*;
#[bar]
#[inline]
/// doc
#[foo]
#[inline]
/// doc
fn foo() {
let a: i32 = "foo"; //~ WARN: unused variable
}
fn main() {
foo()
}