You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Additional bounds are required for const generics using associated constants #80976
Example below. Based on the description in #76560, I'd expect to not be required to add [(); From::DIM]: and [(); To::DIM] bounds to Transform because the associated consts are inherent to the trait's definition and thus are public APIs.
Activity
camelid commentedon Jan 17, 2021
It seemsEDIT: actually it is required :)const_evaluatable_checkedis not required to repro?lcnr commentedon Jun 24, 2022
triaged in https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/.60F-generic_const_exprs.60.20triage/near/287323105, if we want const evaluatable bounds this error is expected (though with a better error message). Whether these bounds are needed is tracked in rust-lang/project-const-generics#41