Skip to content

typenum Div results in overflow #184

Closed
@lcnr

Description

@lcnr
use typenum::{consts::*, Div};
fn is_div<T: Div<U>, U>() {}
fn main() {
    is_div::<U2, U1>();
}

fails with unavoidable overflow errors in the new solver

Metadata

Metadata

Assignees

Labels

from-craterA regression found via a crater run, not part of our test suite

Type

No type

Projects

Status

done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions