]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #96673 - oli-obk:tait_impl_diagnostic, r=petrochenkov
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 5 May 2022 13:43:05 +0000 (15:43 +0200)
committerGitHub <noreply@github.com>
Thu, 5 May 2022 13:43:05 +0000 (15:43 +0200)
commit5f8a2f608090ba399e623e78662c267508e09ef9
treed2759b3da5802446298f82f50f168ccc27dc153f
parent9520641e2a4a82ca4111b196d19a0a5695832ca3
parentefc6a6f1bd2a70d1eb278644128cb85b8ef7a3b9
Rollup merge of #96673 - oli-obk:tait_impl_diagnostic, r=petrochenkov

Report that opaque types are not allowed in impls even in the presence of other errors

fixes  #96569

before this PR those useful errors were hidden because either `unused parameter` or `only traits defined in the current crate can be implemented for arbitrary types` got emitted first.