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

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

surdeus

Warning

This post was published 55 days ago. The information described in this article may have changed.

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