mirror of https://github.com/rust-lang/rust.git
Don't allow dead code
This commit is contained in:
parent
6cb3376434
commit
89582351cf
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue