]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type/ascription/issue-47666.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / type / ascription / issue-47666.rs
index ceb1dd89daea9b96383b59765ef73e475b1ff979..8035de4a48a92ceb16c26e4a4e742243b27b47ad 100644 (file)
@@ -1,5 +1,7 @@
 fn main() {
     let _ = Option:Some(vec![0, 1]); //~ ERROR expected type, found
+    //~^ ERROR expected value, found enum `Option`
+    //~| ERROR expected type, found variant `Some`
 }
 
 // This case isn't currently being handled gracefully due to the macro invocation.