Skip to content

fix compile_fail doctests with post-mono errors #3392

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

RalfJung
Copy link
Member

Fixes #2423

@RalfJung
Copy link
Member Author

Hm, judging from the failure in rust-lang/rust#122744, it seems like calling collect_and_partition_mono_items when the dependencies are metadata-only may run into problems...

@oli-obk
Copy link
Contributor

oli-obk commented Mar 20, 2024

We won't run into that specific problem as we -Zalways-emit-mir

@bors r+

@bors
Copy link
Contributor

bors commented Mar 20, 2024

📌 Commit 010d1d7 has been approved by oli-obk

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 20, 2024

⌛ Testing commit 010d1d7 with merge 586af60...

bors added a commit that referenced this pull request Mar 20, 2024
fix compile_fail doctests with post-mono errors

Fixes #2423
@RalfJung
Copy link
Member Author

We won't run into that specific problem as we -Zalways-emit-mir

Ah!

But only for target crates. Let me adjust the PR.
@bors r-

@bors
Copy link
Contributor

bors commented Mar 20, 2024

☀️ Try build successful - checks-actions
Build commit: 586af60 (586af60079f4d7de0c48989c646504ef31649070)

this fixes compile_fail doctests with post-mono errors
@RalfJung
Copy link
Member Author

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Mar 20, 2024

📌 Commit 73ba941 has been approved by oli-obk

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 20, 2024

⌛ Testing commit 73ba941 with merge addad82...

@bors
Copy link
Contributor

bors commented Mar 20, 2024

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing addad82 to master...

@bors bors merged commit addad82 into rust-lang:master Mar 20, 2024
@RalfJung RalfJung deleted the post-mono branch March 20, 2024 11:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compile_fail doctests that rely on post-monomorphization errors don't pass miri test
3 participants