dtolnay / thiserror

derive(Error) for struct and enum error types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reject transparent attr in field attribute position

dtolnay opened this issue · comments

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.