Why is there an `E: Sized` bound for `Box: Error`

⚓ Rust    📅 2025-11-24    👤 surdeus    👁️ 11      

surdeus

There's no Sized bound for &impl Error:

Or for Arc<impl Error>:

But there is for Box<impl Error>:


Just checking that there's a reason, else I assume I can create ACP

2 posts - 2 participants

Read full topic

🏷️ Rust_feed