3cc3486733
Remove `ast::Guard` With the introduction of `ast::ExprKind::Let` in https://github.com/rust-lang/rust/pull/60861, the `ast::Guard` structure is now redundant in terms of representing [`if let` guards](https://github.com/rust-lang/rust/issues/51114) in AST since it can be represented by `ExprKind::Let` syntactically. Therefore, we remove `ast::Guard` here. However, we keep `hir::Guard` because the semantic representation is a different matter and this story is more unclear right now (might involve `goto 'arm` in HIR or something...). r? @petrochenkov |
||
---|---|---|
.. | ||
benches | ||
cfg | ||
dep_graph | ||
hir | ||
ich | ||
infer | ||
lint | ||
middle | ||
mir | ||
query | ||
session | ||
traits | ||
ty | ||
util | ||
arena.rs | ||
build.rs | ||
Cargo.toml | ||
error_codes.rs | ||
lib.rs | ||
macros.rs | ||
README.md |
For more information about how rustc works, see the rustc guide.