Skip to content

Commit a8ab424

Browse files
committed
v0.32.0
1 parent 7fc07fa commit a8ab424

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="v0.32.0"></a>
2+
# [v0.32.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.32.0) - 2024-10-17
3+
4+
5+
**Breaking Change**: Rename `Trait::is_object_same` to `is_dyn_compatible`. This is a part of a [language wide rename](https://github.com/rust-lang/rust/issues/130852) to [make the term explain its meaning](https://internals.rust-lang.org/t/object-safety-is-a-terrible-term/21025) ([rust#131595](https://github.com/rust-lang/rust/pull/131595)).
6+
7+
- Format Version: 36
8+
- Upstream Commit: [`2e6f3bd1d32455e535de1d9ee154253c333aec73`](https://github.com/rust-lang/rust/commit/2e6f3bd1d32455e535de1d9ee154253c333aec73)
9+
- Diff: [v0.31.0...v0.32.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.31.0...v0.32.0)
10+
111
<a name="v0.31.0"></a>
212
# [v0.31.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.31.0) - 2024-10-13
313

Diff for: COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
05c0591321f9956c1f0df4785d3737f40cffb598
1+
2e6f3bd1d32455e535de1d9ee154253c333aec73

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.31.0"
3+
version = "0.32.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

Diff for: src/lib.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
1313
/// This integer is incremented with every breaking change to the API,
1414
/// and is returned along with the JSON blob as [`Crate::format_version`].
1515
/// Consuming code should assert that this value matches the format version(s) that it supports.
16-
pub const FORMAT_VERSION: u32 = 35;
16+
pub const FORMAT_VERSION: u32 = 36;
1717

1818
/// The root of the emitted JSON blob.
1919
///
@@ -1082,8 +1082,11 @@ pub struct Trait {
10821082
pub is_auto: bool,
10831083
/// Whether the trait is marked as `unsafe`.
10841084
pub is_unsafe: bool,
1085-
/// Whether the trait is [object safe](https://doc.rust-lang.org/reference/items/traits.html#object-safety).
1086-
pub is_object_safe: bool,
1085+
// FIXME(dyn_compat_renaming): Update the URL once the Reference is updated and hits stable.
1086+
/// Whether the trait is [dyn compatible](https://doc.rust-lang.org/reference/items/traits.html#object-safety)[^1].
1087+
///
1088+
/// [^1]: Formerly known as "object safe".
1089+
pub is_dyn_compatible: bool,
10871090
/// Associated [`Item`]s that can/must be implemented by the `impl` blocks.
10881091
pub items: Vec<Id>,
10891092
/// Information about the type parameters and `where` clauses of the trait.

0 commit comments

Comments
 (0)