It doesn't throw any error
```d
import std.stdio;
void main()
{
int id = IdWrap().getID;
writeln("use: ", id);
}
struct IdWrap
{
private int _id;
int getID() return
{
return _id;
}
~this(){
writeln("delete id:(");
}
}
```
Moreover, if you return `this.someSlice.ptr` in the return method
in a structure, there will also be no error.