11-unsafe-constructor.stderr 173 Bytes
Newer Older
1 2 3 4 5
error: `unsafe fn` is not supported for ink! functions
  --> $DIR/11-unsafe-constructor.rs:12:9
   |
12 |         unsafe fn invalid_return(&mut self) {}
   |         ^^^^^^