Sized> Foo for Box<F> where F: Foo. Here is the fixed code, updated to the Rust 2018 edition: trait Foo { fn foo(&self); } impl Foo for () { fn foo(&self) ...
確定! 回上一頁