summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-02 13:58:06 +0000
committerbors <bors@rust-lang.org>2024-01-02 13:58:06 +0000
commit7040cef07d1fc90058d9201a5362c49c5a0e538e (patch)
tree3e0615d2ab07075488cbf87b0be6cfd3a8b0341f /tests/rustdoc-js-std/parser-slice-array.js
parentf7a29e4e883e985eb813224a67b6312e1c38b76a (diff)
parent919ecc6c3232cad9dc8e3f6ea03082415c6609fb (diff)
downloadrust-7040cef07d1fc90058d9201a5362c49c5a0e538e.tar.gz
rust-7040cef07d1fc90058d9201a5362c49c5a0e538e.zip
Auto merge of #16068 - roife:fix-introduce-named-generic-name-conflicts, r=Veykril
fix: pick up new names when the name conflicts in 'introduce_named_generic'

Improve generation of names for generic parameters in `introduce_named_generics`.

fix #15731.

### Changes

- Modified `for_generic_parameter` function in `suggest_name.rs` to handle conflicts with existing generic parameters and generate unique names accordingly.
- Update `introduce_named_generic` function and pass existing params to `for_generic_parameter`, enabling the detection and handling of name collisions.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions