]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/macros/issue-68060.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / macros / issue-68060.rs
index aa8f578adf61eff295986e53944eaf5d491f5e76..fb40cd5387b7cc74dcb5add70314e0ed67689613 100644 (file)
@@ -3,7 +3,11 @@ fn main() {
         .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: not a function
         )