AL
Size: a a a
AL
AZ
AZ
ДК
p
ДК
error[E0307]: invalid `self` parameter type: &std::sync::Arc<B<Test>>хоть что-то, но)) это лишь в рамках std:)))
--> src/main.rs:9:23
|
9 | fn function(self: &Arc<B<Self>>) {
| ^^^^^^^^^^^^^
|
= note: type of `self` must be `Self` or a type that dereferences to it
= help: consider changing to `self`, `&self`, `&mut self`, `self: Box<Self>`, `self: Rc<Self>`, `self: Arc<Self>`, or `self: Pin<P>` (where P is one of the previous types except `Self`)
V
error[E0307]: invalid `self` parameter type: &std::sync::Arc<B<Test>>хоть что-то, но)) это лишь в рамках std:)))
--> src/main.rs:9:23
|
9 | fn function(self: &Arc<B<Self>>) {
| ^^^^^^^^^^^^^
|
= note: type of `self` must be `Self` or a type that dereferences to it
= help: consider changing to `self`, `&self`, `&mut self`, `self: Box<Self>`, `self: Rc<Self>`, `self: Arc<Self>`, or `self: Pin<P>` (where P is one of the previous types except `Self`)
В
error[E0658]: `&Wrap<Test>` cannot be used as the type of `self` without the `arbitrary_self_types` feature
>> error[E0658]: `&std::sync::Arc<Wrap<Test>>` cannot be used as the type of `self` without the `arbitrary_self_types` feature
ДК
В
= note: type of `self` must be `Self` or a type that dereferences to it
ДК
error[E0307]: invalid `self` parameter type: &std::sync::Arc<B<Test>>хоть что-то, но)) это лишь в рамках std:)))
--> src/main.rs:9:23
|
9 | fn function(self: &Arc<B<Self>>) {
| ^^^^^^^^^^^^^
|
= note: type of `self` must be `Self` or a type that dereferences to it
= help: consider changing to `self`, `&self`, `&mut self`, `self: Box<Self>`, `self: Rc<Self>`, `self: Arc<Self>`, or `self: Pin<P>` (where P is one of the previous types except `Self`)
В
ДК
BD
BD
p
AZ
AZ