Skip to content

"multiple applicable items" since raw pointers to unsized implement Debug #37354

Closed
@TimNN

Description

@TimNN

Breaking change from #36880

use std::fmt::{Formatter, Debug, Pointer};

fn foo(f: &mut Formatter) {
    let a: *const [i32] = &[0] as *const _;
    let _ = a.fmt(f);
}

fn main() {}

Affects mbox v0.1.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions