blob: 4eddb96848cd0f0c28980920c473d722c2706b4b [file] [log] [blame]
fn main() {
(0..)
.map(
#[target_feature(enable = "")]
//~^ ERROR: attribute should be applied to a function
#[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
|_| (),
//~^ NOTE: not a function
)
.next();
}