blob: c8c2702ec447efd85b05c5d797ecbecb00e586aa [file] [log] [blame]
// edition:2018
struct Ia<S>(S);
impl<S> Ia<S> {
fn partial(_: S) {}
fn full(self) {}
async fn crash(self) {
Self::partial(self.0);
Self::full(self); //~ ERROR use of moved value: `self`
}
}
fn main() {}