diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-03 18:44:02 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-15 18:13:27 +0000 |
| commit | e3ac1fa81abd321abe193f491ed06c7d388f68fe (patch) | |
| tree | f3c465579965ba4d01cef6aa639e8844e1a265a2 /src/rustdoc-json-types | |
| parent | 4d30011f6c616be074ba655a75e5d55441232bbb (diff) | |
| download | rust-e3ac1fa81abd321abe193f491ed06c7d388f68fe.tar.gz rust-e3ac1fa81abd321abe193f491ed06c7d388f68fe.zip | |
Add RTN support to rustdoc
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 8ec7cffe066..44e82c7d8b1 100644 --- a/src/rustdoc-json-types/lib.rs +++ b/src/rustdoc-json-types/lib.rs @@ -30,7 +30,7 @@ pub type FxHashMap<K, V> = HashMap<K, V>; // re-export for use in src/librustdoc /// This integer is incremented with every breaking change to the API, /// and is returned along with the JSON blob as [`Crate::format_version`]. /// Consuming code should assert that this value matches the format version(s) that it supports. -pub const FORMAT_VERSION: u32 = 41; +pub const FORMAT_VERSION: u32 = 42; /// The root of the emitted JSON blob. /// @@ -229,6 +229,8 @@ pub enum GenericArgs { /// The output type provided after the `->`, if present. output: Option<Type>, }, + /// `T::method(..)` + ReturnTypeNotation, } /// One argument in a list of generic arguments to a path segment. |
