Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 308 Bytes
// 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()
}
You can’t perform that action at this time.