Ignore automatically derived impls of Clone
and Debug
in dead code analysis
This commit is contained in:
parent
497ee321af
commit
79adda930f
54 changed files with 225 additions and 107 deletions
|
@ -263,7 +263,7 @@ impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
|
|||
}
|
||||
|
||||
if let Err(e) = result {
|
||||
bug!("Error processing: {:?}: {:?}", self.mir_body.source.def_id(), e)
|
||||
bug!("Error processing: {:?}: {:?}", self.mir_body.source.def_id(), e.message)
|
||||
};
|
||||
|
||||
// Depending on current `debug_options()`, `alert_on_unused_expressions()` could panic, so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue