rust-lang / rust-lang/reference

document negative impls

Open
#869 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.6k
Forks
607
PR merge metrics
PR metrics pending

Description

Unless I'm blind, I cannot find any discussion of negative impls. It is in the grammar, and mentioned briefly in the special types page. I think there should be a section in the implementations page.

EDIT: Oh, I'm just silly. Negative impls are not stable. However, since they are a part of the stable grammar, it should probably have at least some minor callout.

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 with src/items/implementations.md and compare its treatment of negative impls with the grammar and the special types page. Add a brief callout explaining that negative impls are unstable despite appearing in the stable grammar, and verify that the implementations page clearly covers the topic.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.