Additional trait bounds with auto traits are unhandled
CohenArthur opened this issue · comments
trait A {}
impl dyn A + Send {}
impl dyn A + Send + Sync {}
this code should work, but gccrs
reaches an unreachable in the name resolver. Note that this code should work ONLY because the additional trait bounds are auto traits - it would not work if the bound was dyn A + B + C
for example.