diff options
| author | bors <bors@rust-lang.org> | 2024-01-02 13:58:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-02 13:58:06 +0000 |
| commit | 7040cef07d1fc90058d9201a5362c49c5a0e538e (patch) | |
| tree | 3e0615d2ab07075488cbf87b0be6cfd3a8b0341f /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | f7a29e4e883e985eb813224a67b6312e1c38b76a (diff) | |
| parent | 919ecc6c3232cad9dc8e3f6ea03082415c6609fb (diff) | |
| download | rust-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
