rust/compiler/rustc_hir
Matthias Krüger f8e6617239
Rollup merge of #100029 - hdelc:master, r=cjgillot
Prevent ICE for `doc_alias` on match arm, statement, expression

Fixes #99777.

This is a pretty minimal fix that should be safe, since rustdoc doesn't generate documentation for match arms, statements, or expressions. I mentioned in the linked issue that the `doc_alias` target checking should probably be improved to avoid future ICEs, but as a new contributor, I'm not confident enough with the HIR types to make a larger change.
2022-08-03 22:29:31 +02:00
..
src Rollup merge of #100029 - hdelc:master, r=cjgillot 2022-08-03 22:29:31 +02:00
Cargo.toml Make AST lowering a query. 2022-07-06 23:04:55 +02:00