cxx 0.5.1

Safe interop between Rust and C++
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: unnamed receiver type is only allowed if the surrounding extern block contains exactly one extern type; use `self: &mut TheType`
 --> $DIR/unnamed_receiver.rs:6:14
  |
6 |         fn f(&mut self);
  |              ^^^^^^^^^

error: unnamed receiver type is only allowed if the surrounding extern block contains exactly one extern type; use `self: &TheType`
  --> $DIR/unnamed_receiver.rs:10:20
   |
10 |         fn f(self: &Self);
   |                    ^^^^^