Using associated constants for generics is not considered using a type generic #80977
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
Filing in addition to #80976 because this seems to be a separate issue. Includes the same example below. Essentially, even though the associated constant
To::DIM
is being used in the definition of the struct, the compiler marksTo
as being unused since no types related to it are being used.(Playground)
The text was updated successfully, but these errors were encountered: