]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/issue-68060.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / macros / issue-68060.rs
CommitLineData
74b04a01
XL
1fn main() {
2 (0..)
3 .map(
4 #[target_feature(enable = "")]
1b1a35ee
XL
5 //~^ ERROR: attribute should be applied to a function
6 //~| ERROR: the feature named `` is not valid for this target
7 //~| NOTE: `` is not valid for this target
74b04a01 8 #[track_caller]
1b1a35ee 9 //~^ ERROR: `#[track_caller]` requires Rust ABI [E0737]
74b04a01 10 |_| (),
1b1a35ee 11 //~^ NOTE: not a function
74b04a01
XL
12 )
13 .next();
14}