rust/compiler/rustc_hir/src
bors eb9e5e711d Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk
Improve syntax of `newtype_index`

This makes it more like proper Rust and also makes the implementation a lot simpler.

Mostly just turns weird flags in the body into proper attributes.

It should probably also be converted to an attribute macro instead of function-like, but that can be done in a future PR.
2022-12-20 07:27:01 +00:00
..
arena.rs rustc_hir: Change representation of import paths to support multiple resolutions 2022-12-01 18:51:05 +03: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 Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
definitions.rs Only allow feeding a value to newly created definitions. 2022-11-29 18:43:00 +00:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
errors.rs have LangItemError derive everything LangItem does 2022-08-25 11:06:45 -06:00
hir_id.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
hir.rs minor code cleanups 2022-12-12 19:49:53 +01:00
intravisit.rs Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 2022-12-03 17:37:42 +01:00
lang_items.rs Revert "Replace usage of ResumeTy in async lowering with Context" 2022-12-19 11:24:59 -08:00
lib.rs Separate lifetime ident from resolution in HIR. 2022-11-23 19:33:06 +00:00
pat_util.rs compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
stable_hash_impls.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
target.rs Handle generic parameters. 2022-09-09 01:31:46 +00:00
tests.rs Use Symbol for the crate name instead of String/str 2022-12-07 20:30:02 +00:00
weak_lang_items.rs Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00