rust/tests/ui/macros/issue-68060.rs
George-lewis d56cdd48cb Bless tests
Update tests
2024-01-13 12:46:58 -05:00

17 lines
590 B
Rust

fn main() {
(0..)
.map(
#[target_feature(enable = "")]
//~^ ERROR: attribute should be applied to a function
//~| ERROR: feature named `` is not valid
//~| NOTE: `` is not valid for this target
#[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();
}