1
Fork 0
rust/compiler/rustc_hir/src
bors 9863bf51a5 Auto merge of #87875 - asquared31415:generic-lang-items, r=cjgillot
Improve detection of generics on lang items

Adds detection for the required generics for all lang items.  Many lang items require an exact or minimum amount of generic arguments and if they don't exist, the compiler will ICE.  This does not add any additional validation about bounds on generics or any other lang item restrictions.

Fixes one of the ICEs in #87573

cc `@FabianWolff`
2021-08-25 08:12:16 +00:00
..
arena.rs Introduce OwnerNode::Crate. 2021-07-25 12:22:47 +02:00
def.rs clippy::filter_map_identity 2021-07-25 12:26:03 +02:00
definitions.rs Make resolutions a query. 2021-07-06 19:22:27 +02:00
hir.rs Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
hir_id.rs Address review comments 2021-03-27 22:16:34 -04:00
intravisit.rs Fix typos “a”→“an” 2021-08-22 15:35:11 +02:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Detect incorrect number of lang item generics 2021-08-23 10:15:25 -04:00
lib.rs Update to new bootstrap compiler 2021-06-28 11:30:49 -04:00
pat_util.rs Auto merge of #83599 - jyn514:unorderable, r=Aaron1011 2021-04-03 04:11:35 +00:00
stable_hash_impls.rs Hash DefId in rustc_span. 2021-06-11 12:25:02 +02:00
target.rs Visit more targets when checking attrs 2021-02-09 21:54:46 +01:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00