mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Auto merge of #16139 - jimmyhmiller:master, r=Veykril
Make functions in impl have a container name fixes #16015
This commit is contained in:
commit
df94a87ea8
3 changed files with 115 additions and 44 deletions
|
@ -414,6 +414,12 @@ impl Struct {
|
|||
fn impl_fn() {}
|
||||
}
|
||||
|
||||
struct StructT<T>;
|
||||
|
||||
impl <T> StructT<T> {
|
||||
fn generic_impl_fn() {}
|
||||
}
|
||||
|
||||
trait Trait {
|
||||
fn trait_fn(&self);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue