Skip to content

Commit 35a4100

Browse files
Munksgaardsteveklabnik
authored andcommitted
Add Debug to MethodCallee
This fixes #24497
1 parent 16b60cf commit 35a4100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/ty.rs

+1-1
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)