Skip to content

Core models calls the Debug trait method dbg_fmt instead of fmt #1976

@abentkamp

Description

@abentkamp
pub struct Lane2U32([u32; 2]);
impl core::fmt::Debug for Lane2U32 {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        f.debug_tuple("Lane2U32")
            .field(&self.0)
            .finish()
    }
}

Open this code snippet in the playground

error: playground.lean:25:2: `fmt` is not a field of structure `core_models.fmt.Debug`
error: playground.lean:24:47: Fields missing: `dbg_fmt`

Metadata

Metadata

Assignees

No one assigned

    Labels

    proof-libIssues related the backend-specific definitions (in the proof-lib folder)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions