1error: unnamed receiver type is only allowed if the surrounding extern block contains exactly one extern type; use `self: &mut TheType`
2 --> $DIR/unnamed_receiver.rs:6:14
3  |
46 |         fn f(&mut self);
5  |              ^^^^^^^^^
6
7error: unnamed receiver type is only allowed if the surrounding extern block contains exactly one extern type; use `self: &TheType`
8  --> $DIR/unnamed_receiver.rs:10:20
9   |
1010 |         fn f(self: &Self);
11   |                    ^^^^^
12