E4158#
Default implementation is required but not found.
When a trait declares that it has a default implementation, the implementation should exist.
错误示例#
///|
pub(open) trait Close {
// A default implementation is required but not found.
close(Self) -> Unit raise = _
}
建议#
Implement the default implementation.
///|
impl Close with close(_) {
()
}