]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/empty/empty-struct-braces-expr.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / empty / empty-struct-braces-expr.rs
index f4144277f16bee48d3b60925152847308c0ccf11..2aab3e7772cc068733044e31c40ea6949f1cb9e7 100644 (file)
@@ -17,7 +17,7 @@ fn main() {
     //~^ ERROR expected function, tuple struct or tuple variant, found struct `Empty1`
     let e3 = E::Empty3; //~ ERROR expected value, found struct variant `E::Empty3`
     let e3 = E::Empty3();
-    //~^ ERROR expected function, tuple struct or tuple variant, found struct variant `E::Empty3`
+    //~^ ERROR expected value, found struct variant `E::Empty3`
 
     let xe1 = XEmpty1; //~ ERROR expected value, found struct `XEmpty1`
     let xe1 = XEmpty1();