about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-02-16 11:47:50 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-02-17 22:24:31 +1100
commitae12b7238ebb2a0400cee54f91cc9109696dfb30 (patch)
treed3f6b981b8cb76a07eb26981392619e3c98ac107 /compiler/rustc_codegen_llvm/src
parent9554045ae410f7da0dea52c9868187a0c8fc5ed2 (diff)
downloadrust-ae12b7238ebb2a0400cee54f91cc9109696dfb30.tar.gz
rust-ae12b7238ebb2a0400cee54f91cc9109696dfb30.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions