Skip to content

quest: plan operator trait methods called by path - #481

Merged
kixelated merged 1 commit into
mainfrom
quest-plan/ts-operator-paths
Nov 3, 2026
Merged

kixelated merged 1 commit into
mainfrom
quest-plan/ts-operator-paths

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Problem

<u8 as AddAssign>::add_assign called by its path is refused, as a written call or as a function value, while n += 1 translates. Found completing moq-dev/rust2#470. The maintainer chose to record it for every operator trait.

Approach

Adds the m3 quest Operator trait methods called by path, ranked after the related String + &str quest. It covers every std::ops operator trait's method, called by path and as a value, and is proven by a differential test.

Impact

  • Quest tree only. No public API change.

Alternatives

  • Folding it into Adding to a String: kept separate, since that one is a std type's operator impl and this one is the primitives' trait methods called by path.

Follow-ups

None.

Review

Skipped as too trivial to need one: this PR only adds a quest file and its link.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f339aa1e-1304-47b1-ab89-5b6e36194b64
Commits

Reviewing files that changed from the base of the PR and between 7f3b112 and 9e3051f.

Files selected for processing: 2
  • quest/m3/README.md
  • quest/m3/ts-operator-paths.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@kixelated
kixelated added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 3d37327 Nov 3, 2026
3 checks passed
@kixelated
kixelated deleted the quest-plan/ts-operator-paths branch November 3, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant