Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/goto_definition.rs')
| -rw-r--r-- | crates/ide/src/goto_definition.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index e920ff5ab4..fe8295ca2d 100644 --- a/crates/ide/src/goto_definition.rs +++ b/crates/ide/src/goto_definition.rs @@ -2192,8 +2192,8 @@ where T : Bound struct A; impl Bound for A{} fn f() { - let gen = Gen::<A>(A); - gen.g$0(); + let g = Gen::<A>(A); + g.g$0(); } "#, ); @@ -2218,8 +2218,8 @@ where T : Bound struct A; impl Bound for A{} fn f() { - let gen = Gen::<A>(A); - gen.g$0(); + let g = Gen::<A>(A); + g.g$0(); } "#, ); |