1 error[E0599]: no method named `foo` found for type `A` in the current scope
2 --> $DIR/point-at-arbitrary-self-type-method.rs:8:7
5 | --------- method `foo` not found for this
7 LL | fn foo(self: Box<Self>) {}
8 | --- the method is available for `std::boxed::Box<A>` here
11 | ^^^ method not found in `A`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0599`.