1 error[E0770]: the type of const parameters must not depend on other generic parameters
2 --> $DIR/issue-88997.rs:8:40
4 LL | struct Range<T: PartialOrd, const MIN: T, const MAX: T>(T)
5 | ^ the type must not depend on the parameter `T`
7 error[E0770]: the type of const parameters must not depend on other generic parameters
8 --> $DIR/issue-88997.rs:8:54
10 LL | struct Range<T: PartialOrd, const MIN: T, const MAX: T>(T)
11 | ^ the type must not depend on the parameter `T`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0770`.