fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
769 B13 linesraw
1error[E0658]: `Wrap<&Struct, Struct>` cannot be used as the type of `self` without the `arbitrary_self_types` feature
2  --> $DIR/ref-self-async.rs:47:39
3   |
4LL |     async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 {
5   |                                       ^^^^^^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/44874
8   = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable
9   = 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`)
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0658`.