Don't allow dead code

This commit is contained in:
Maybe Waffle 2023-07-30 12:15:18 +00:00 committed by Maybe Waffle
parent 6cb3376434
commit 89582351cf
1 changed files with 0 additions and 1 deletions

View File

@ -714,7 +714,6 @@ fn object_ty_for_trait<'tcx>(
// FIXME(mikeyhew) when unsized receivers are implemented as part of unsized rvalues, add this
// fallback query: `Receiver: Unsize<Receiver[Self => U]>` to support receivers like
// `self: Wrapper<Self>`.
#[allow(dead_code)]
fn receiver_is_dispatchable<'tcx>(
tcx: TyCtxt<'tcx>,
method: ty::AssocItem,