Simplify `thir::PatKind::ExpandedConstant` I made it a bit less ad-hoc. In particular, I removed `is_inline: bool` that was just caching the output of `tcx.def_kind(def_id)`. This makes inline consts a tiny bit less special in patterns. r? `@oli-obk` cc `@Zalathar` |
||
|---|---|---|
| .. | ||
| coverageinfo | ||
| custom | ||
| expr | ||
| matches | ||
| block.rs | ||
| cfg.rs | ||
| coverageinfo.rs | ||
| misc.rs | ||
| mod.rs | ||
| scope.rs | ||