about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/hir/map
AgeCommit message (Collapse)AuthorLines
2020-10-06Rollup merge of #76995 - LingMan:middle_matches, r=varkorYuki Okushi-8/+8
Reduce boilerplate with the matches! macro Replaces simple bool `match`es of the form match $expr { $pattern => true _ => false } and their inverse with invocations of the matches! macro. Limited to rustc_middle for now to get my feet wet.
2020-09-25Address review commentmarmeladema-3/+5
2020-09-25Implement `Display` for `DisambiguatedDefPathData` and `DefPathData`marmeladema-5/+1
2020-09-21Reduce boilerplate with the matches! macroLingMan-8/+8
Replaces simple bool `match`es of the form match $expr { $pattern => true _ => false } and their inverse with invocations of the matches! macro.
2020-08-30mv compiler to compiler/mark-0/+1912