2021-03-16から1日間の記事一覧
trait OptionalConstructor { fn optional_new() -> Option<Self>; // ^^^^^^^^^^^^ doesn't have a size known at compile-time // Option<Self> where Self: Sized; } Compiling playground v0.0.1 (/playground) error[E0277]: the size for values of type `Self` ca</self></self>…