rust/compiler/rustc_borrowck/src
Nicholas Nethercote bcf0ec0191 Replace mk_foo calls with infer_foo where possible.
There are several `mk_foo`/`intern_foo` pairs, where the former takes an
iterator and the latter takes a slice. (This naming convention is bad,
but that's a fix for another PR.)

This commit changes several `mk_foo` occurrences into `intern_foo`,
avoiding the need for some `.iter()`/`.into_iter()` calls. Affected
cases:
- mk_type_list
- mk_tup
- mk_substs
- mk_const_list
2023-02-17 22:24:31 +11:00
..
constraints Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
diagnostics remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
region_infer Auto merge of #108020 - nnethercote:opt-mk_region, r=compiler-errors 2023-02-16 16:11:54 +00:00
type_check Replace mk_foo calls with infer_foo where possible. 2023-02-17 22:24:31 +11:00
borrow_set.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
borrowck_errors.rs Tweak E0597 2023-01-15 19:46:20 +00:00
constraint_generation.rs lint auto pass 2022-11-09 20:42:16 +08:00
consumers.rs Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
dataflow.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
def_use.rs lint auto pass 2022-11-09 20:42:16 +08:00
facts.rs Use fmt named parameters in rustc_borrowck 2023-01-06 19:34:45 -05:00
invalidation.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
lib.rs Put a DefId in AggregateKind. 2023-02-02 23:09:51 +00:00
location.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
member_constraints.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
nll.rs session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
path_utils.rs lint auto pass 2022-11-09 20:42:16 +08:00
place_ext.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
places_conflict.rs Removed various double spaces in compiler source comments. 2023-01-14 17:34:59 +01: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 errors: implement IntoDiagnosticArg for &T 2023-01-30 17:11:34 +00:00
universal_regions.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
used_muts.rs lint auto pass 2022-11-09 20:42:16 +08:00