Skip to content

improve validation error messages: show surrounding type#154097

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
RalfJung:validity-error
Mar 24, 2026
Merged

improve validation error messages: show surrounding type#154097
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
RalfJung:validity-error

Conversation

@RalfJung
Copy link
Copy Markdown
Member

Also, for dyn-downcast show the type we're downcasting to.

r? @oli-obk

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 19, 2026

Some changes occurred to the CTFE machinery

cc @oli-obk, @lcnr

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri, @oli-obk, @lcnr

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

The Miri subtree was changed

cc @rust-lang/miri

@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 Mar 19, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 19, 2026

oli-obk is not on the review rotation at the moment.
They may take a while to respond.

@rust-log-analyzer

This comment has been minimized.

@oli-obk
Copy link
Copy Markdown
Contributor

oli-obk commented Mar 24, 2026

@bors r+

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 24, 2026

📌 Commit 05834b2 has been approved by oli-obk

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 24, 2026
rust-bors bot pushed a commit that referenced this pull request Mar 24, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #152710 (Unalign `PackedFingerprint` on all hosts, not just x86 and x86-64)
 - #153874 (constify const Fn*: Destruct)
 - #154097 (improve validation error messages: show surrounding type)
 - #154277 (use `minicore` more in testing inline assembly)
 - #154293 (Use verbose span suggestion for type const)
@rust-bors rust-bors bot merged commit ab64017 into rust-lang:main Mar 24, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 24, 2026
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Mar 25, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#152710 (Unalign `PackedFingerprint` on all hosts, not just x86 and x86-64)
 - rust-lang/rust#153874 (constify const Fn*: Destruct)
 - rust-lang/rust#154097 (improve validation error messages: show surrounding type)
 - rust-lang/rust#154277 (use `minicore` more in testing inline assembly)
 - rust-lang/rust#154293 (Use verbose span suggestion for type const)
@RalfJung RalfJung deleted the validity-error branch March 25, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

4 participants