about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-02-16 16:31:47 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-02-17 22:24:34 +1100
commitaf32411f20d4e4f79a2c8b4b645b2693a46c3d7d (patch)
tree44ee4d0ae848413b4dd0c18ddfc7af0db29f1ea3 /compiler/rustc_codegen_llvm/src/builder.rs
parent107f14d2cac563608d31f08819380e4ed47e120a (diff)
downloadrust-af32411f20d4e4f79a2c8b4b645b2693a46c3d7d.tar.gz
rust-af32411f20d4e4f79a2c8b4b645b2693a46c3d7d.zip
Avoid double-interning some `BoundVariableKind`s.
This function has this line twice:
```
let bound_vars = tcx.intern_bound_variable_kinds(&bound_vars);
```
The second occurrence is effectively a no-op, because the first
occurrence interned any that needed it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions