blob: bc70f8ffec2b288982c762941bd1b8a4543f711f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#![feature(track_caller)]
fn main() {
(0..)
.map(
#[target_feature(enable = "")]
//~^ ERROR: the feature named `` is not valid for this target
//~| ERROR: `#[target_feature(..)]` can only be applied to `unsafe` functions
#[track_caller]
//~^ ERROR: `#[track_caller]` requires Rust ABI
|_| (),
)
.next();
}
|