You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
236 B
6 lines
236 B
4 months ago
|
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);
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^
|