Fix rebase conflicts · rust-lang/rust@587c504 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 587c504
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -53,7 +53,7 @@ impl<'a, 'tcx> SyntaxChecker<'a, 'tcx> { | ||
53 | 53 | return; |
54 | 54 | } |
55 | 55 | |
56 | -let local_id = match item.def_id.as_local() { | |
56 | +let local_id = match item.def_id.as_real().and_then(|x | |
57 | 57 | Some(id) => id, |
58 | 58 | // We don't need to check the syntax for other crates so returning |
59 | 59 | // without doing anything should not be a problem. |