diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-05-29 04:49:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 04:49:39 +0200 |
| commit | d3c605a0519b76e114ebd6cd72f93b53a55ad5bf (patch) | |
| tree | 6b1219c6df7183e6af94d60c76565f2fcfaab908 /tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr | |
| parent | ebe9b0060240953d721508ceb4d02a745efda88f (diff) | |
| parent | 9f12748086823f58bc03ab5f4390e98a69991127 (diff) | |
| download | rust-d3c605a0519b76e114ebd6cd72f93b53a55ad5bf.tar.gz rust-d3c605a0519b76e114ebd6cd72f93b53a55ad5bf.zip | |
Rollup merge of #136429 - fmease:gci-fix-def-site-checks, r=BoxyUwU
GCI: At their def site, actually wfcheck the where-clause & always eval free lifetime-generic constants * 1st commit: Partially addresses [#136204](https://github.com/rust-lang/rust/issues/136204) by turning const eval errors from post to pre-mono for free lifetime-generic constants. * As the linked issue/comment states, on master there's a difference between `const _: () = panic!();` (pre-mono error) and `const _<'a>: () = panic!();` (post-mono error) which feels wrong. * With this PR, both become pre-mono ones! * 2nd commit: Oof, yeah, I missed that in the initial impl! This doesn't fully address #136204 because I still haven't figured out how & where to properly & best suppress const eval of free constants whose predicates don't hold at the def site. The motivating example is `const _UNUSED: () = () where for<'_delay> String: Copy;` which can also be found over at the tracking issue #113521. r? compiler-errors or reassign
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr')
0 files changed, 0 insertions, 0 deletions
