Skip to content

ice: symbol mangling v0 + dyn_star: cannot be demangled #116979

Open
@matthiaskrgr

Description

@matthiaskrgr

Code

build with -Csymbol-mangling-version=v0

#![feature(dyn_star)]
#![allow(incomplete_features)]

use std::fmt::Display;

pub fn require_dyn_star_display(_: dyn* Display) {}

fn main() {
    require_dyn_star_display(1usize);
}

Meta

rustc --version --verbose:

274455a9d1aae26b47d2757cdd41a74ec1b280f9

Error output

<output>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.F-dyn_star`#![feature(dyn_star)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions