Skip to content

describe 1.86 changes #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
.. default-domain:: spec
.. informational-page::

FLS Changelog
=============
Changelog
=========

This page describes the changes that have been applied to the FLS itself to
address changes and new features introduced in each Rust release. Every item
Expand All @@ -18,6 +18,13 @@ with the change that has been applied due to it.
just the language changes that had an impact to the FLS. See the `release
notes`_ for a full list of changes.

Language changes in Rust 1.86.0
-------------------------------

- `Stabilize upcasting trait objects to supertraits. <https://github.com/rust-lang/rust/pull/134367>`_

- New paragraph: :p:`fls_QB4c6FNKxaPl`

Language changes in Rust 1.85.0
-------------------------------

Expand Down
3 changes: 3 additions & 0 deletions src/types-and-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2048,6 +2048,9 @@ occur when:
* :dp:`fls_SYnFJBhi0IWj`
The source :t:`type` is a :t:`trait object type` and the target :t:`type` is a :t:`trait object type` with the same or no :t:`[principal trait bound]`, and the target :t:`type` has the same or less non-:t:`principal trait` :t:`[trait bound]s`.

* :dp:`fls_QB4c6FNKxaPl`
The source :t:`type` is a :t:`trait object type` with some :t:`principal trait bound` ``T`` and the target :t:`type` is a :t:`trait object type` with some :t:`principal trait bound` ``U``, where ``U`` is a :t:`supertrait` of ``T``.

:dp:`fls_iiiu2q7pym4p`
An :t:`unsized coercion` is a :t:`type coercion` that converts a :t:`sized type`
into an :t:`unsized type`. :t:`Unsized coercion` from a source :t:`type` to a
Expand Down