mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 12:05:08 +00:00
13 lines
217 B
Rust
13 lines
217 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
|
|
#[deny(inline_always)]
|
|
#[inline(always)] //~ERROR You have declared #[inline(always)] on test_attr_lint.
|
|
fn test_attr_lint() {
|
|
assert!(true)
|
|
}
|
|
|
|
fn main() {
|
|
test_attr_lint()
|
|
}
|