]> git.proxmox.com Git - rustc.git/blobdiff - src/test/debuginfo/result-types.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / debuginfo / result-types.rs
index cdac47a784d94339567d2d713d9abaede6b4b610..f1944fa38d27ea0d44d277e1d1ed3aebfb79c13b 100644 (file)
@@ -7,12 +7,12 @@
 // cdb-command: g
 
 // cdb-command: dx x,d
-// cdb-check:x,d              : Ok [Type: enum2$<core::result::Result<i32,str> >]
+// cdb-check:x,d              : Ok [Type: enum2$<core::result::Result<i32,ref$<str$> > >]
 // cdb-check:    [...] __0              : -3 [Type: int]
 
 // cdb-command: dx y
-// cdb-check:y                : Err [Type: enum2$<core::result::Result<i32,str> >]
-// cdb-check:    [...] __0              : "Some error message" [Type: str]
+// cdb-check:y                : Err [Type: enum2$<core::result::Result<i32,ref$<str$> > >]
+// cdb-check:    [...] __0              : "Some error message" [Type: ref$<str$>]
 
 fn main() {
     let x: Result<i32, &str> = Ok(-3);