]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-16058.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-16058.rs
index 671232e701f872b33721803aba16349e5ca33ed1..92c1e4b5f5060810c5bb8da8e6cd39b8d7baa19f 100644 (file)
@@ -16,7 +16,7 @@ pub struct GslResult {
 
 impl GslResult {
     pub fn new() -> GslResult {
-        Result { //~ ERROR: `Result` does not name a struct or a struct variant
+        Result { //~ ERROR: expected struct, variant or union type, found enum `Result`
             val: 0f64,
             err: 0f64
         }