Skip to content

1.99 beta rustdoc crater regression: "encountered dangling pointer in final value of mutable static" #161923

Description

@theemathas

This regression was found by the 1.99 crater rustdoc run.

[INFO] [stdout] error: encountered dangling pointer in final value of mutable static
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/window-0.2.0/src/wayland/mod.rs:88:1
[INFO] [stdout]    |
[INFO] [stdout] 88 | static mut ZXDG_SURFACE_V6_INTERFACE: WlInterface = WlInterface {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered dangling pointer in final value of mutable static
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/window-0.2.0/src/wayland/mod.rs:234:1
[INFO] [stdout]     |
[INFO] [stdout] 234 | static mut ZXDG_SHELL_V6_INTERFACE: WlInterface = WlInterface {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.99-2/1.99.0-beta.1/reg/barg-0.2.0/log.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-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