1
Fork 0

Ignore automatically derived impls of Clone and Debug in dead code analysis

This commit is contained in:
Fabian Wolff 2021-05-21 19:35:49 +02:00
parent 497ee321af
commit 79adda930f
54 changed files with 225 additions and 107 deletions

View file

@ -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