Skip to content

crash at >> #242

@nrc

Description

@nrc
#[derive(Copy, Clone)]
pub struct StdCounter<T: Zero + Add<T, Output = T> + Sub<T, Output = T>> {
    pub value: T
}

error is

thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: IllFormedSpan(Span { lo: BytePos(190), hi: BytePos(189), expn_id: ExpnId(4294967295) })', ../src/libcore/result.rs:734

Pretty sure this is due to a libsyntax error (rust-lang/rust#28158), but in case it isn't lets track it here too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPanic, non-idempotency, invalid code, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions