about summary refs log tree commit diff
path: root/src/rustdoc-json-types
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-11 19:50:03 -0400
committerMichael Goulet <michael@errs.io>2024-07-12 05:24:51 -0400
commitbd135e487f904e757f6c3d2ebcc2d216ac4d9aaf (patch)
tree96c4fbccbaf84ffd59a038b721c0bb8a9fa84bd3 /src/rustdoc-json-types
parent843f5dd93b3edc65034eb8b9e16673c2bf8e28f2 (diff)
downloadrust-bd135e487f904e757f6c3d2ebcc2d216ac4d9aaf.tar.gz
rust-bd135e487f904e757f6c3d2ebcc2d216ac4d9aaf.zip
Add rustdoc-json support for use<>
Diffstat (limited to 'src/rustdoc-json-types')
-rw-r--r--src/rustdoc-json-types/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rustdoc-json-types/lib.rs b/src/rustdoc-json-types/lib.rs
index 89115d4d7d6..6fd23b60c8a 100644
--- a/src/rustdoc-json-types/lib.rs
+++ b/src/rustdoc-json-types/lib.rs
@@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
 use std::path::PathBuf;
 
 /// rustdoc format-version.
-pub const FORMAT_VERSION: u32 = 31;
+pub const FORMAT_VERSION: u32 = 32;
 
 /// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
 /// about the language items in the local crate, as well as info about external items to allow
@@ -538,6 +538,8 @@ pub enum GenericBound {
         modifier: TraitBoundModifier,
     },
     Outlives(String),
+    /// `use<'a, T>` precise-capturing bound syntax
+    Use(Vec<String>),
 }
 
 #[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]