//@ check-pass #![feature(generic_const_exprs)] #![allow(incomplete_features)] pub struct Foo; pub trait Bar {} impl Bar for Foo<{ 1 }> {} impl Bar for Foo<{ 2 }> {} fn main() {}