Skip to content

Commit 4436ade

Browse files
committed
Add Debug to MethodCallee
This fixes #24497
1 parent ac2b6f6 commit 4436ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ pub struct MethodObject<'tcx> {
437437
pub vtable_index: usize,
438438
}
439439

440-
#[derive(Clone)]
440+
#[derive(Clone, Debug)]
441441
pub struct MethodCallee<'tcx> {
442442
pub origin: MethodOrigin<'tcx>,
443443
pub ty: Ty<'tcx>,

0 commit comments

Comments
 (0)