mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 03:52:53 +00:00
Fix rebase conflicts
This commit is contained in:
parent
18f6922d8c
commit
587c50452f
@ -53,7 +53,7 @@ impl<'a, 'tcx> SyntaxChecker<'a, 'tcx> {
|
||||
return;
|
||||
}
|
||||
|
||||
let local_id = match item.def_id.as_local() {
|
||||
let local_id = match item.def_id.as_real().and_then(|x| x.as_local()) {
|
||||
Some(id) => id,
|
||||
// We don't need to check the syntax for other crates so returning
|
||||
// without doing anything should not be a problem.
|
||||
|
Loading…
Reference in New Issue
Block a user