aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/slice_unsupported.stderr
blob: 2cbd26da823dcb272c19bcd170a93bdd79eb1f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
error: unsupported &mut [T] element type: opaque C++ type is not supported yet
 --> $DIR/slice_unsupported.rs:6:17
  |
6 |         fn f(_: &mut [Opaque]);
  |                 ^^^^^^^^^^^^^

error: needs a cxx::ExternType impl in order to be used as a slice element in &mut [Opaque]
 --> $DIR/slice_unsupported.rs:4:9
  |
4 |         type Opaque;
  |         ^^^^^^^^^^^