{"action":"opened","issue":{"url":"https://api.github.com/repos/TeXitoi/structopt/issues/117","repository_url":"https://api.github.com/repos/TeXitoi/structopt","labels_url":"https://api.github.com/repos/TeXitoi/structopt/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/TeXitoi/structopt/issues/117/comments","events_url":"https://api.github.com/repos/TeXitoi/structopt/issues/117/events","html_url":"https://github.com/TeXitoi/structopt/issues/117","id":333102112,"node_id":"MDU6SXNzdWUzMzMxMDIxMTI=","number":117,"title":"Unclear error message when flatten is used with doc comment","user":{"login":"spease","id":2825204,"node_id":"MDQ6VXNlcjI4MjUyMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2825204?v=4","gravatar_id":"","url":"https://api.github.com/users/spease","html_url":"https://github.com/spease","followers_url":"https://api.github.com/users/spease/followers","following_url":"https://api.github.com/users/spease/following{/other_user}","gists_url":"https://api.github.com/users/spease/gists{/gist_id}","starred_url":"https://api.github.com/users/spease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spease/subscriptions","organizations_url":"https://api.github.com/users/spease/orgs","repos_url":"https://api.github.com/users/spease/repos","events_url":"https://api.github.com/users/spease/events{/privacy}","received_events_url":"https://api.github.com/users/spease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-17T23:38:45Z","updated_at":"2018-06-17T23:38:45Z","closed_at":null,"author_association":"NONE","body":"Something like the following (from [quicli#84](https://github.com/killercup/quicli/issues/84)):\r\n```\r\n#[derive(Debug, StructOpt)]\r\nstruct Cli {\r\n    /// Increase verbosity\r\n    #[structopt(flatten)]\r\n    verbosity: Verbosity\r\n}\r\n```\r\n\r\nWill give the error:\r\n```\r\nmethods are not allowed for flattened entry\r\n```\r\n\r\nIt would be very helpful if the error message was explicit about the doc comments possibly being the problem as well. Thanks."}}
{"actor":{"display_login":"spease"}}