From 4436ade8ad62619dadd6033f116a831179b238d9 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Thu, 16 Apr 2015 15:58:43 +0200 Subject: [PATCH] Add Debug to MethodCallee This fixes #24497 --- src/librustc/middle/ty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/middle/ty.rs b/src/librustc/middle/ty.rs index 1e817890440f2..eab87dc846d64 100644 --- a/src/librustc/middle/ty.rs +++ b/src/librustc/middle/ty.rs @@ -437,7 +437,7 @@ pub struct MethodObject<'tcx> { pub vtable_index: usize, } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct MethodCallee<'tcx> { pub origin: MethodOrigin<'tcx>, pub ty: Ty<'tcx>,