Skip to content

fix: Use display_source_code() in ReferenceConversion#21578

Merged
Veykril merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:reparse-unknown
Feb 5, 2026
Merged

fix: Use display_source_code() in ReferenceConversion#21578
Veykril merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:reparse-unknown

Conversation

@ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Feb 3, 2026

The usage of normal display() caused it to emit {unknown} which then failed to parse in make::ty().

Really we should not use stringly-typed things here, but that's a change for another day.

Fixes #21288.

The usage of normal `display()` caused it to emit `{unknown}` which then failed to parse in `make::ty()`.

Really we should not use stringly-typed things here, but that's a change for another day.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 3, 2026
@Veykril Veykril added this pull request to the merge queue Feb 5, 2026
Merged via the queue into rust-lang:master with commit 1d79e8e Feb 5, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 5, 2026
@ChayimFriedman2 ChayimFriedman2 deleted the reparse-unknown branch February 5, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate function invalid closure parameter

3 participants