mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Add static method tactic
This commit is contained in:
parent
35eb0dbbc0
commit
627255dd5a
8 changed files with 569 additions and 93 deletions
|
@ -148,7 +148,7 @@ impl<'a> PathTransform<'a> {
|
|||
let mut defaulted_params: Vec<DefaultedParam> = Default::default();
|
||||
self.generic_def
|
||||
.into_iter()
|
||||
.flat_map(|it| it.type_params(db))
|
||||
.flat_map(|it| it.type_or_const_params(db))
|
||||
.skip(skip)
|
||||
// The actual list of trait type parameters may be longer than the one
|
||||
// used in the `impl` block due to trailing default type parameters.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue