@@ -411,7 +411,7 @@ fn main() {
411
411
name: "FnOnce",
412
412
kind: Trait,
413
413
container_name: "function",
414
- description: "pub trait FnOnce<Args>\nwhere\n Args: Tuple,",
414
+ description: "pub trait FnOnce<Args>\nwhere\n Args: Tuple, {\n pub type Output,\n pub extern \"rust-call\" fn call_once(self, args: Args) -> Self::Output,\n} ",
415
415
},
416
416
},
417
417
],
@@ -2766,7 +2766,7 @@ fn main() { let s$0t = foo(); }
2766
2766
focus_range: 19..22,
2767
2767
name: "Bar",
2768
2768
kind: Trait,
2769
- description: "trait Bar",
2769
+ description: "trait Bar {} ",
2770
2770
},
2771
2771
},
2772
2772
HoverGotoTypeData {
@@ -2779,7 +2779,7 @@ fn main() { let s$0t = foo(); }
2779
2779
focus_range: 6..9,
2780
2780
name: "Foo",
2781
2781
kind: Trait,
2782
- description: "trait Foo",
2782
+ description: "trait Foo {} ",
2783
2783
},
2784
2784
},
2785
2785
],
@@ -2816,7 +2816,7 @@ fn main() { let s$0t = foo(); }
2816
2816
focus_range: 22..25,
2817
2817
name: "Bar",
2818
2818
kind: Trait,
2819
- description: "trait Bar<T>",
2819
+ description: "trait Bar<T> {} ",
2820
2820
},
2821
2821
},
2822
2822
HoverGotoTypeData {
@@ -2829,7 +2829,7 @@ fn main() { let s$0t = foo(); }
2829
2829
focus_range: 6..9,
2830
2830
name: "Foo",
2831
2831
kind: Trait,
2832
- description: "trait Foo<T>",
2832
+ description: "trait Foo<T> {} ",
2833
2833
},
2834
2834
},
2835
2835
HoverGotoTypeData {
@@ -2920,7 +2920,7 @@ fn foo(ar$0g: &impl Foo + Bar<S>) {}
2920
2920
focus_range: 19..22,
2921
2921
name: "Bar",
2922
2922
kind: Trait,
2923
- description: "trait Bar<T>",
2923
+ description: "trait Bar<T> {} ",
2924
2924
},
2925
2925
},
2926
2926
HoverGotoTypeData {
@@ -2933,7 +2933,7 @@ fn foo(ar$0g: &impl Foo + Bar<S>) {}
2933
2933
focus_range: 6..9,
2934
2934
name: "Foo",
2935
2935
kind: Trait,
2936
- description: "trait Foo",
2936
+ description: "trait Foo {} ",
2937
2937
},
2938
2938
},
2939
2939
HoverGotoTypeData {
@@ -3220,7 +3220,7 @@ fn foo(a$0rg: &impl ImplTrait<B<dyn DynTrait<B<S>>>>) {}
3220
3220
focus_range: 28..36,
3221
3221
name: "DynTrait",
3222
3222
kind: Trait,
3223
- description: "trait DynTrait<T>",
3223
+ description: "trait DynTrait<T> {} ",
3224
3224
},
3225
3225
},
3226
3226
HoverGotoTypeData {
@@ -3233,7 +3233,7 @@ fn foo(a$0rg: &impl ImplTrait<B<dyn DynTrait<B<S>>>>) {}
3233
3233
focus_range: 6..15,
3234
3234
name: "ImplTrait",
3235
3235
kind: Trait,
3236
- description: "trait ImplTrait<T>",
3236
+ description: "trait ImplTrait<T> {} ",
3237
3237
},
3238
3238
},
3239
3239
HoverGotoTypeData {
@@ -7456,7 +7456,7 @@ impl Iterator for S {
7456
7456
name: "Future",
7457
7457
kind: Trait,
7458
7458
container_name: "future",
7459
- description: "pub trait Future",
7459
+ description: "pub trait Future {\n pub type Output,\n pub fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>,\n} ",
7460
7460
},
7461
7461
},
7462
7462
HoverGotoTypeData {
@@ -7470,7 +7470,7 @@ impl Iterator for S {
7470
7470
name: "Iterator",
7471
7471
kind: Trait,
7472
7472
container_name: "iterator",
7473
- description: "pub trait Iterator",
7473
+ description: "pub trait Iterator {\n pub type Item,\n pub fn next(&mut self) -> Option<Self::Item>,\n pub fn nth(&mut self, n: usize) -> Option<Self::Item>,\n pub fn by_ref(&mut self) -> &mut Self\nwhere\n Self: Sized,,\n} ",
7474
7474
},
7475
7475
},
7476
7476
HoverGotoTypeData {
@@ -7483,7 +7483,7 @@ impl Iterator for S {
7483
7483
focus_range: 49..56,
7484
7484
name: "Notable",
7485
7485
kind: Trait,
7486
- description: "trait Notable",
7486
+ description: "trait Notable {} ",
7487
7487
},
7488
7488
},
7489
7489
HoverGotoTypeData {
0 commit comments