rust/compiler/rustc_macros/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
..
diagnostics use &str / String literals instead of format!() 2022-12-18 16:17:46 +01:00
symbols Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
hash_stable.rs more clippy fixes 2021-11-07 16:59:05 +01:00
lib.rs Auto merge of #103556 - clubby789:specialize-option-partial-eq, r=scottmcm 2022-11-26 08:56:20 +00:00
lift.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
newtype.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
query.rs feed resolver_for_lowering instead of storing it in a field 2022-12-05 10:58:55 +00:00
serialize.rs Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
symbols.rs symbols: add is_preinterned fn to check if symbol was preinterned in compiler 2022-08-20 15:13:41 +03:00
type_foldable.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00
type_visitable.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00