Closed as not planned
Description
[INFO] [stdout] error[E0492]: constants cannot refer to interior mutable data
[INFO] [stdout] --> src/lib.rs:583:43
[INFO] [stdout] |
[INFO] [stdout] 583 | const VTABLE: &'static Self::VTable = &(*Lhs::VTABLE, *Rhs::VTABLE);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this borrow of an interior mutable value may end up in the final value
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0492]: constants cannot refer to interior mutable data
[INFO] [stdout] --> src/lib.rs:587:43
[INFO] [stdout] |
[INFO] [stdout] 587 | const VTABLE: &'static Self::VTable = &(*Lhs::VTABLE, *Rhs::VTABLE);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this borrow of an interior mutable value may end up in the final value
[INFO] [stdout]
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Relevant to the compiler team, which will review and decide on the PR/issue.Relevant to the language team, which will review and decide on the PR/issue.Performance or correctness regression from one stable version to another.Marks issues that should be documented in the release notes of the next release.