mirror of https://github.com/rust-lang/rust.git
15 lines
175 B
Rust
15 lines
175 B
Rust
|
#![allow(dead_code)]
|
||
|
|
||
|
#[inline(please,no)] //~ ERROR expected one argument
|
||
|
fn a() {
|
||
|
}
|
||
|
|
||
|
#[inline()] //~ ERROR expected one argument
|
||
|
fn b() {
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
a();
|
||
|
b();
|
||
|
}
|