]> git.lizzy.rs Git - rust.git/blobdiff - src/rustdoc-json-types/lib.rs
Rollup merge of #89133 - FabianWolff:issue-79546, r=michaelwoerister
[rust.git] / src / rustdoc-json-types / lib.rs
index 38ba87322c2385f6d86c29f9b3c84e3b1c96de33..37cdc94441df7974d7cf1f0a68755835772c5629 100644 (file)
@@ -323,7 +323,7 @@ pub struct GenericParamDef {
 #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
 #[serde(rename_all = "snake_case")]
 pub enum GenericParamDefKind {
-    Lifetime,
+    Lifetime { outlives: Vec<String> },
     Type { bounds: Vec<GenericBound>, default: Option<Type> },
     Const { ty: Type, default: Option<String> },
 }