Rollup merge of #78478 - hameerabbasi:const-generics-supertraits, r=lcnr
Rollup merge of #78478 - hameerabbasi:const-generics-supertraits, r=lcnr

Add const generics tests for supertraits + dyn traits.

Partially addresses #78433

graydon/rust,aidancully/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust