rust/compiler/rustc_borrowck/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
..
constraints Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
diagnostics use &str / String literals instead of format!() 2022-12-18 16:17:46 +01:00
region_infer Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
type_check Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
borrow_set.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
borrowck_errors.rs struct error E0505 2022-11-09 21:15:31 +08:00
constraint_generation.rs lint auto pass 2022-11-09 20:42:16 +08:00
consumers.rs lint auto pass 2022-11-09 20:42:16 +08:00
dataflow.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
def_use.rs lint auto pass 2022-11-09 20:42:16 +08:00
facts.rs lint auto pass 2022-11-09 20:42:16 +08:00
invalidation.rs Remove unneeded field from SwitchTargets 2022-12-09 04:53:10 -08:00
lib.rs clippy::complexity fixes 2022-12-19 00:04:28 +01:00
location.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
member_constraints.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
nll.rs Create format_args as late as possible 2022-12-01 08:49:51 +00:00
path_utils.rs lint auto pass 2022-11-09 20:42:16 +08:00
place_ext.rs lint auto pass 2022-11-09 20:42:16 +08:00
places_conflict.rs OpaqueCast projections are always overlapping, they can't possibly be disjoint 2022-11-23 14:37:13 +00:00
prefixes.rs lint auto pass 2022-11-09 20:42:16 +08:00
renumber.rs lint auto pass 2022-11-09 20:42:16 +08:00
session_diagnostics.rs struct error E0505 2022-11-09 21:15:31 +08:00
universal_regions.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
used_muts.rs lint auto pass 2022-11-09 20:42:16 +08:00