Skip to content

Report runtime range endpoints for runtime values - #163044

Open
chenyukang wants to merge 2 commits into
rust-lang:mainfrom
chenyukang:yukang-fix-131327-runtime-range-patterns
Open

chenyukang wants to merge 2 commits into
rust-lang:mainfrom
chenyukang:yukang-fix-131327-runtime-range-patterns

Conversation

@chenyukang

@chenyukang chenyukang commented Sep 20, 2026

Copy link
Copy Markdown
Member

Fixes #131327

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 20, 2026
@rustbot

rustbot commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 77 candidates
  • Random selection from 19 candidates

//! Regression test for https://github.com/rust-lang/rust/issues/131327.
//! A runtime range endpoint is invalid regardless of its type.

//@ revisions: generic chars both inferred wrong_type late_inferred

@petrochenkov petrochenkov Sep 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason to introduce revisions instead of reporting everything in one test?

View changes since the review

@petrochenkov

Copy link
Copy Markdown
Contributor

r=me after answering #163044 (comment).
@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrongly suggests error E0029 in match range

3 participants