// run-rustfix use std::pin::Pin; struct S; impl S { fn x(self: Pin<&mut Self>) { } } fn main() { Pin::new(&mut S).x(); //~ ERROR no method named `x` found }