implementation of `From` is not general enough
= note: `From<&'0 Hoge>` would have to be implemented for the type `Fuga<'_>`,
for any lifetime `'0`...
= note: ...but `From<&'1 Hoge>` is actually implemented for the type `Fuga<'1>`,
for some specific lifetime `'1`
これはどうやって解決するのが普通?
Rust part25
■ このスレッドは過去ログ倉庫に格納されています
75デフォルトの名無しさん
2024/08/09(金) 17:08:58.86ID:k9SqobKt■ このスレッドは過去ログ倉庫に格納されています
