rust-lang / rust-lang/rust

Feedback on `impl` and `mut` restrictions

Open
#160,614 33 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-discussion F-impl_restriction F-mut_restriction T-compiler T-lang
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

View all comments

This issue is dedicated to collecting feedback on the new impl_restriction and mut_restriction features.

These features were recently implemented in the nightly Rust compiler. Please feel free to share any issues you encounter, general feedback, or thoughts on the unresolved questions listed in the RFC.

Relevant Links:

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 Restrictions RFC, especially its unresolved questions, then review tracking issue #105077 and the nightly impl_restriction and mut_restriction features. This issue is for reporting behavior, general feedback, and thoughts on those questions; done means contributing a concrete observation or considered response rather than making a specified code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.