]> git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/issue-68060.rs
New upstream version 1.45.0+dfsg1
[rustc.git] / src / test / ui / macros / issue-68060.rs
1 #![feature(track_caller)]
2
3 fn main() {
4 (0..)
5 .map(
6 #[target_feature(enable = "")]
7 //~^ ERROR: the feature named `` is not valid for this target
8 //~| ERROR: `#[target_feature(..)]` can only be applied to `unsafe` functions
9 #[track_caller]
10 //~^ ERROR: `#[track_caller]` requires Rust ABI
11 |_| (),
12 )
13 .next();
14 }