]> git.proxmox.com Git - rustc.git/blobdiff - vendor/gimli/src/write/mod.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / vendor / gimli / src / write / mod.rs
index bf36de48c3d7f7c7866370585a5769f8d49b58c8..47ba6319d390d7d05613e9a52d25c7ddae116f13 100644 (file)
@@ -356,6 +356,8 @@ mod convert {
         UnsupportedOperation,
         /// Operation branch target is invalid.
         InvalidBranchTarget,
+        /// Writing this unit type is not supported yet.
+        UnsupportedUnitType,
     }
 
     impl fmt::Display for ConvertError {
@@ -403,6 +405,7 @@ mod convert {
                     "Writing this expression operation is not implemented yet."
                 ),
                 InvalidBranchTarget => write!(f, "Operation branch target is invalid."),
+                UnsupportedUnitType => write!(f, "Writing this unit type is not supported yet."),
             }
         }
     }