Skip to content

Regression in rustdoc: "evaluation panicked" inside defaulted const in trait #150664

@theemathas

Description

@theemathas
[INFO] [stdout] error[E0080]: evaluation panicked: This field is implemented by #[starlark_value] proc macro
[INFO] [stdout]    --> src/values/traits.rs:254:32
[INFO] [stdout]     |
[INFO] [stdout] 254 |     const TYPE: &'static str = panic!("This field is implemented by #[starlark_value] proc macro");
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `<Self as values::traits::StarlarkValue<'_>>::TYPE` failed here

https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.93-3/beta-2025-12-22/reg/starlark-0.13.0/log.txt

Metadata

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.P-highHigh priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions