]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_metadata/src/errors.rs
Rollup merge of #106823 - m-ou-se:format-args-as-str-guarantees, r=dtolnay
[rust.git] / compiler / rustc_metadata / src / errors.rs
index 1e08e95c01f844136f8ca0cee6e1312e133a73a6..02c03114eb67f637cf5b1236e0d25d1310239019 100644 (file)
@@ -24,6 +24,14 @@ pub struct LibRequired<'a> {
     pub kind: &'a str,
 }
 
+#[derive(Diagnostic)]
+#[diag(metadata_rustc_lib_required)]
+#[help]
+pub struct RustcLibRequired<'a> {
+    pub crate_name: Symbol,
+    pub kind: &'a str,
+}
+
 #[derive(Diagnostic)]
 #[diag(metadata_crate_dep_multiple)]
 #[help]