Skip to content

Conversation

@BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Dec 23, 2025

Fixes #149774

r? types

@rustbot
Copy link
Collaborator

rustbot commented Dec 23, 2025

changes to the core type system

cc @compiler-errors, @lcnr

@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 Dec 23, 2025
enter_wf_checking_ctxt_inner(tcx, body_def_id, !tcx.features().trivial_bounds(), f)
}

pub(super) fn enter_wf_checking_ctxt_without_checking_global_bounds<'tcx, F>(
Copy link
Member Author

Choose a reason for hiding this comment

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

it seems suboptimal to me that we implicitly check things about the where clauses of an item just from creating a wfcx. ideally this would happen as part of actually checking the where clauses or something?

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Dec 23, 2025

@bors try

rust-bors bot added a commit that referenced this pull request Dec 23, 2025
Check `ConstArgHasType` goals even when not wfchecking
@rust-bors

This comment has been minimized.

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Dec 23, 2025

needs a crater run + fcp

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 23, 2025

💔 Test for d15b493 failed: CI. Failed jobs:

@BoxyUwU BoxyUwU force-pushed the check_const_types_without_wfck branch from ef323a1 to 1b22adb Compare December 24, 2025 00:48
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Dec 24, 2025

crazy, completely flipped one of the like two conditions in this PR by accident

@bors try

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 24, 2025
Check `ConstArgHasType` goals even when not wfchecking
@rust-bors
Copy link

rust-bors bot commented Dec 24, 2025

☀️ Try build successful (CI)
Build commit: e983148 (e983148bd5f0f0db270bfb72149f5e892e68b67f, parent: 2ca7bcd03b87b52f7055a59b817443b0ac4a530d)

debug!(?self.out);
}

#[instrument(level = "debug", skip(self))]
Copy link
Member Author

Choose a reason for hiding this comment

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

dont yeet this

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Dec 24, 2025

@craterbot check

@craterbot
Copy link
Collaborator

👌 Experiment pr-150322 created and queued.
🤖 Automatically detected try build e983148
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-crater Status: Waiting on a crater run to be completed. 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.

Not using anon consts for uses of const parameters caused us to accept more code for free type aliases

5 participants