blob: 0528fdbac7928befe11b5cfad0f8d8992ebcd8cc [file]
#![feature(gca_min_const_items)]
struct S<const N: usize>;
impl<const N: usize> S<N> {
const Q: usize = 2;
fn foo(_: S<{ const { const { Self::Q } } }>) {}
//~^ ERROR generic `Self` types are currently not permitted in anonymous constants
}
fn main() {}