Skip to content

Commit aa8d729

Browse files
Ddystopiateor2345
andauthored
Update text/0000-forget-marker-trait.md
Co-authored-by: teor <[email protected]>
1 parent 9e8fcd1 commit aa8d729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-forget-marker-trait.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ It is not required, but in next editions we may swap the default for `default_ge
710710

711711
If [`local_default_bounds`] is not accepted, we can make a satisfactory migration by having editions <= 2024 have `Forget` as the default, and editions after 2024 have `?Forget` as the default.
712712

713-
While it will not split the ecosystem, it will require everyone to make a migration just as in the [`local_default_bounds`] solution. There are concern about locking crates into `Forget` bounds on associated types in traits (like `async fn`). Migration can probably be automated for `#![forbid(unsafe)]` crates.
713+
While it will not split the ecosystem, it will require everyone to make a migration just as in the [`local_default_bounds`] solution. There are concern about locking crates into `Forget` bounds on associated types in traits (like `async fn`). Migration can probably be automated for crates without unsafe code.
714714

715715
[default auto traits]: https://github.com/rust-lang/rust/pull/120706
716716

0 commit comments

Comments
 (0)