about summary refs log tree commit diff
path: root/tests/ui/macros/issue-68060.rs
blob: 2edf986174325f777afe28edf9c475cdb3e4addf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    (0..)
        .map(
            #[target_feature(enable = "")]
            //~^ ERROR: attribute cannot be used on
            #[track_caller]
            //~^ ERROR: `#[track_caller]` on closures is currently unstable
            //~| NOTE: see issue #87417
            //~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
            |_| (),
        )
        .next();
}