]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-68060.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / ui / macros / issue-68060.rs
1 fn main() {
2     (0..)
3         .map(
4             #[target_feature(enable = "")]
5             //~^ ERROR: attribute should be applied to a function
6             #[track_caller]
7             |_| (),
8             //~^ NOTE: not a function
9         )
10         .next();
11 }