struct Thing {
  @disable this(this);
}
...
items ~= move(item); // Error: struct Thing is not copyable because it is annotated with @disable

++items.length
move(items[$-1],item); // Error: struct Thing is not copyable because it is annotated with @disable

appender(items).put(move(item)); // Error: template std.array.Appender!(Thing[]).Appender.put cannot deduce function from argument types !()(Thing)

...?

Reply via email to