rust/compiler/rustc_hir/src
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
..
arena.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
def_path_hash_map.rs Use on-disk-hash-table format for DefPathHashMap in hir::definitions. 2021-09-14 13:54:41 +02:00
def.rs Replace LifetimeRes::Anonymous by LifetimeRes::Infer. 2022-07-26 19:00:31 +02:00
definitions.rs fix ICE in Definitions::create_def 2022-08-01 16:15:55 +03:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
hir_id.rs Auto merge of #96082 - michaelwoerister:less_impl_stable_hash_via_hash, r=compiler-errors 2022-04-20 03:51:09 +00:00
hir.rs Store associated item defaultness in impl_defaultness. 2022-08-01 21:38:16 +02:00
intravisit.rs Match on TraitItem exhaustively. 2022-08-01 21:39:59 +02:00
lang_items.rs Initial (incomplete) implementation of transmutability trait. 2022-07-27 17:33:56 +00:00
lib.rs Make AST lowering a query. 2022-07-06 23:04:55 +02:00
pat_util.rs Remove unused StableMap and StableSet types from rustc_data_structures 2022-07-20 13:11:39 +02:00
stable_hash_impls.rs Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
target.rs Add items to DocAliasBadLocation check error match arm 2022-08-02 23:11:22 -04:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs Use FxIndexMap instead of otherwise unused StableMap for WEAK_ITEMS_REFS. 2022-07-20 12:40:51 +02:00