Don't allow implement CoerceUnsized into dyn-star
This commit is contained in:
@@ -840,7 +840,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
||||
}
|
||||
|
||||
// `T` -> `Trait`
|
||||
(_, &ty::Dynamic(..)) => {
|
||||
(_, &ty::Dynamic(_, _, ty::Dyn)) => {
|
||||
candidates.vec.push(BuiltinUnsizeCandidate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user