rust-lang / rust-lang/rust

Types FCP v2: Supertrait item shadowing stabilization

Open
#162,130 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

disposition-merge I-types-nominated proposed-final-comment-period T-types
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

The stabilization of supertrait item shadowing is being proposed in #148605.

Since the initial FCP, item shadowing of associated types and consts has been added in #152225 (see https://github.com/rust-lang/rust/blob/main/tests/ui/supertrait-shadowing/assoc-type.rs).

We should redo FCP since we're now stabilizing more.

(I can add more info here if needed.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the stabilization proposal in #148605 and the added associated-type and const shadowing work in #152225. Inspect tests/ui/supertrait-shadowing/assoc-type.rs to understand the newly covered behavior. Done means preparing a revised FCP that includes the additional stabilization scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.