Add missing dyn keyword to trait_alias page of the Unstable Book#155610
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Apr 22, 2026
Merged
Add missing dyn keyword to trait_alias page of the Unstable Book#155610rust-bors[bot] merged 1 commit intorust-lang:mainfrom
dyn keyword to trait_alias page of the Unstable Book#155610rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Contributor
|
r? me Thanks! As an aside, this isn't a typo exactly; this works on the 2015 edition. We made the @bors r+ |
Contributor
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 22, 2026
Add missing `dyn` keyword to `trait_alias` page of the Unstable Book There seemed to be a small typo in the Rust Unstable Book page for the `trait_alias` feature, where a variable is declared as `&Bar` for a trait `Bar`, rather than `&dyn Bar`.
This was referenced Apr 22, 2026
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 22, 2026
Rollup of 7 pull requests Successful merges: - #155589 (Forbid `check-pass`/`build-pass`/`run-pass` directives in incremental tests) - #155610 (Add missing `dyn` keyword to `trait_alias` page of the Unstable Book) - #155615 (test cleanups for `ui/derives` and `ui/deriving`) - #154874 (Fix ICE for inherited const conditions on const closures) - #155605 (std: Update support for `wasm32-wasip3`) - #155613 (c-variadic: tweak `std` docs) - #155619 (Remove a bunch of unnecessary explicit lifetimes from the ast validator)
rust-timer
added a commit
that referenced
this pull request
Apr 22, 2026
Rollup merge of #155610 - Omnikar:trait-alias-docs-fix, r=mejrs Add missing `dyn` keyword to `trait_alias` page of the Unstable Book There seemed to be a small typo in the Rust Unstable Book page for the `trait_alias` feature, where a variable is declared as `&Bar` for a trait `Bar`, rather than `&dyn Bar`.
github-actions Bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Apr 22, 2026
Rollup of 7 pull requests Successful merges: - rust-lang/rust#155589 (Forbid `check-pass`/`build-pass`/`run-pass` directives in incremental tests) - rust-lang/rust#155610 (Add missing `dyn` keyword to `trait_alias` page of the Unstable Book) - rust-lang/rust#155615 (test cleanups for `ui/derives` and `ui/deriving`) - rust-lang/rust#154874 (Fix ICE for inherited const conditions on const closures) - rust-lang/rust#155605 (std: Update support for `wasm32-wasip3`) - rust-lang/rust#155613 (c-variadic: tweak `std` docs) - rust-lang/rust#155619 (Remove a bunch of unnecessary explicit lifetimes from the ast validator)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There seemed to be a small typo in the Rust Unstable Book page for the
trait_aliasfeature, where a variable is declared as&Barfor a traitBar, rather than&dyn Bar.