You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found array `[(); _]`
5
+
| ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found array `[(); std::mem::size_of::<Self::Assoc>()]`
6
6
| |
7
7
| expected because this is `<Self as Foo>::Assoc`
8
8
|
9
9
= note: expected associated type `<Self as Foo>::Assoc`
10
-
found array `[(); _]`
11
-
= help: consider constraining the associated type `<Self as Foo>::Assoc` to `[(); _]` or calling a method that returns `<Self as Foo>::Assoc`
10
+
found array `[(); std::mem::size_of::<Self::Assoc>()]`
11
+
= help: consider constraining the associated type `<Self as Foo>::Assoc` to `[(); std::mem::size_of::<Self::Assoc>()]` or calling a method that returns `<Self as Foo>::Assoc`
12
12
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
0 commit comments