]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/union/union-suggest-field.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / union / union-suggest-field.rs
index d84a22cee5ab2833884d9f6519090ded39e0b099..71b93e873c22026ceca22d8e30c146afa2b3745c 100644 (file)
@@ -17,5 +17,5 @@ fn main() {
 
     let y = u.calculate; //~ ERROR attempted to take value of method `calculate` on type `U`
                          //~| HELP use parentheses to call the method
-                         //~| SUGGESTION calculate()
+                         //~| SUGGESTION ()
 }