object_safety: check whether a supertrait contains Self even without being it
This is a [breaking-change]:lang, but the broken code does not make much sense. Fixes #26056
Showing
想要评论请 注册 或 登录
This is a [breaking-change]:lang, but the broken code does not make much sense. Fixes #26056