Reject transparent attr in field attribute position
dtolnay opened this issue · comments
David Tolnay commented
The following should cause a compile error, but doesn't currently.
#[derive(Error, Debug)]
#[error(transparent)]
struct E(#[error(transparent)] std::io::Error);
Relevant to #80.