blob: ecc4702597eb3ac13ca7b1805cbd58ce8a99ce73 (
plain)
1
2
3
4
5
|
error: #[error(transparent)] needs to go outside the enum or struct, not on an individual field
--> $DIR/bad-field-attr.rs:5:18
|
5 | pub struct Error(#[error(transparent)] std::io::Error);
| ^^^^^^^^^^^^^^^^^^^^^
|