]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-29084.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-29084.rs
index 00d2969a0f67d153ed10b9b1ef60995eea921019..6cb6bbf1893fc15b8638c09ab3c6f56011c3d22a 100644 (file)
@@ -13,7 +13,7 @@ macro_rules! foo {
         fn bar(d: u8) { }
         bar(&mut $d);
         //~^ ERROR mismatched types
-        //~| expected u8, found &-ptr
+        //~| expected u8, found &mut u8
         //~| expected type `u8`
         //~| found type `&mut u8`
     }}