Skip to content

Commit 8958235

Browse files
committed
Don't allow dead code
1 parent 6cb3376 commit 8958235

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_trait_selection/src/traits/object_safety.rs

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

0 commit comments

Comments
 (0)