diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-11 19:50:03 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-12 05:24:51 -0400 |
| commit | bd135e487f904e757f6c3d2ebcc2d216ac4d9aaf (patch) | |
| tree | 96c4fbccbaf84ffd59a038b721c0bb8a9fa84bd3 /src/rustdoc-json-types | |
| parent | 843f5dd93b3edc65034eb8b9e16673c2bf8e28f2 (diff) | |
| download | rust-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.rs | 4 |
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)] |
