mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-04 21:37:57 +03:00
5 lines
186 B
Text
5 lines
186 B
Text
error: transparent error struct can't contain #[source]
|
|
--> tests/ui/transparent-struct-source.rs:5:18
|
|
|
|
|
5 | pub struct Error(#[source] anyhow::Error);
|
|
| ^^^^^^^^^
|