|
3 | 3 |
|
4 | 4 | **Breaking Change**: Many structs and fields have been renamed ([rust#128667](https://github.com/rust-lang/rust/pull/128667)):
|
5 | 5 | - `Import` is now `Use`, to better reflect the syntax and [the reference](https://doc.rust-lang.org/stable/reference/items/use-declarations.html).
|
6 |
| -- `TypeBinding` is now `AssocItemConstraint`, to reflect that is can also work on associated constants, and that it can either require the associated item to equal a term, or satisfy bounds. |
| 6 | +- `TypeBinding` is now `AssocItemConstraint`, to reflect that it can also work on associated constants, and that it can either require the associated item to equal a term, or satisfy bounds. |
7 | 7 | - Similarly, `TypeBindingKind` is now `AssocItemConstraintKind`
|
8 | 8 | - `bindings` has been renamed to `constraints` on `GenericArgs::AngleBracketed`
|
9 |
| -- `ForeignType` has been renamed to `ExternType`, because [that's what the feature is called](https://github.com/rust-lang/rust/issues/43467). "Foreign" refers to types that arn't from the current crate, whereas Extern Types are entirely opaque to the type system (and may be in the current crate). |
10 |
| -- `ItemEnum::AssocConst` and `ItemEnum::AssocType`'s `default` field has been renamed to `value`, to clairify that they can appear in both an `impl` and `trait` item. |
| 9 | +- `ForeignType` has been renamed to `ExternType`, because [that's what the feature is called](https://github.com/rust-lang/rust/issues/43467). "Foreign" refers to types that aren't from the current crate, whereas Extern Types are entirely opaque to the type system (and may be in the current crate). |
| 10 | +- `ItemEnum::AssocConst` and `ItemEnum::AssocType`'s `default` field has been renamed to `value`, to clarify that they can appear in both an `impl` and `trait` item. |
11 | 11 | - `Header` is now `FunctionHeader`, to be clearer what it is.
|
12 | 12 | - `FnDecl` is now `FunctionSignature`, as it's also used for `FunctionPointer` types (and not just function items).
|
13 | 13 | - `decl` field is now `sig`
|
14 |
| -- Boolean fields are now `is_` or `has_` prefixed for clairity: |
| 14 | +- Boolean fields are now `is_` or `has_` prefixed for clarity: |
15 | 15 | - `fields_stripped` is now `has_fields_stripped`
|
16 | 16 | - `variants_stripped` is now `has_stripped_variants`
|
17 | 17 | - `const_` is now `is_const`
|
18 | 18 | - `async_` is now `is_async`
|
19 |
| - - `unsafe_` is now `is_async` |
| 19 | + - `unsafe_` is now `is_unsafe` |
20 | 20 | - `synthetic` is now `is_synthetic`
|
21 | 21 | - `mutable` is now `is_mutable`
|
22 | 22 | - `c_variadic` is now `is_c_variadic`
|
|
44 | 44 | > [!NOTE]
|
45 | 45 | > Due to a mistake, this version was never published to crates.io. Users can use `v0.29.1` instead.
|
46 | 46 |
|
47 |
| -**Breaking Change**: Removed `OpaqueTy`, `ItemKind::OpaqueTy` and `ItemEnum::OpaqueTy`. These were only generated with rarely used nightly features, so almost all documents will be uneffected ([rust#127276](https://github.com/rust-lang/rust/pull/127276)). |
| 47 | +**Breaking Change**: Removed `OpaqueTy`, `ItemKind::OpaqueTy` and `ItemEnum::OpaqueTy`. These were only generated with rarely used nightly features, so almost all documents will be unaffected ([rust#127276](https://github.com/rust-lang/rust/pull/127276)). |
48 | 48 |
|
49 | 49 | - Format Version: 33
|
50 | 50 | - Upstream Commit: [`73ac5e0c6e8e0e35229444caf5461c6c079122b4`](https://github.com/rust-lang/rust/commit/73ac5e0c6e8e0e35229444caf5461c6c079122b4)
|
|
0 commit comments