mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove unnecessary Names from FunctionData::params
This commit is contained in:
parent
3f5c9920d6
commit
a1b96b1e00
6 changed files with 13 additions and 12 deletions
|
@ -176,7 +176,7 @@ impl GenericParams {
|
|||
// Don't create an `Expander` nor call `loc.source(db)` if not needed since this
|
||||
// causes a reparse after the `ItemTree` has been created.
|
||||
let mut expander = Lazy::new(|| Expander::new(db, loc.source(db).file_id, module));
|
||||
for (_, param) in &func_data.params {
|
||||
for param in &func_data.params {
|
||||
generic_params.fill_implicit_impl_trait_args(db, &mut expander, param);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue