Make diangostic item names consistent
This commit is contained in:
parent
f03eb6bef8
commit
eec856bfbc
123 changed files with 244 additions and 248 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue