Add some warnings
This commit is contained in:
parent
92b14263a4
commit
0c592a6bb1
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@ pub fn trans_mono_item<'a, 'tcx: 'a>(cx: &mut CodegenCx<'a, 'tcx, CurrentBackend
|
||||||
cx.module.define_function(func_id, context).unwrap();
|
cx.module.define_function(func_id, context).unwrap();
|
||||||
context.clear();
|
context.clear();
|
||||||
}
|
}
|
||||||
_ => {}
|
inst => cx.tcx.sess.warn(&format!("Unimplemented instance {:?}", inst)),
|
||||||
}
|
}
|
||||||
_ => {}
|
mono_item => cx.tcx.sess.warn(&format!("Unimplemented mono item {:?}", mono_item)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue