Make diangostic item names consistent
This commit is contained in:
@@ -812,7 +812,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingDebugImplementations {
|
||||
_ => return,
|
||||
}
|
||||
|
||||
let debug = match cx.tcx.get_diagnostic_item(sym::debug_trait) {
|
||||
let debug = match cx.tcx.get_diagnostic_item(sym::Debug) {
|
||||
Some(debug) => debug,
|
||||
None => return,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user