]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/attributes/issue-90873.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / attributes / issue-90873.rs
index 0f62d4153089a6c6a478ee032f04b5d861f87014..1411f61744d251cea925618de715e2b2f053201b 100644 (file)
@@ -1,9 +1,9 @@
 #![u=||{static d=||1;}]
-//~^ unexpected token
+//~^ unexpected expression
 //~| cannot find attribute `u` in this scope
 //~| missing type for `static` item
 
 #![a={impl std::ops::Neg for i8 {}}]
-//~^ ERROR unexpected token
+//~^ ERROR unexpected expression
 //~| ERROR cannot find attribute `a` in this scope
 //~| ERROR `main` function not found in crate `issue_90873`