mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
Explicitly mention doc comments in flatten error (#118)
This commit is contained in:
parent
18192d8e50
commit
d983649822
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl Attrs {
|
|||
panic!("parse attribute is not allowed for flattened entry");
|
||||
}
|
||||
if !res.methods.is_empty() {
|
||||
panic!("methods are not allowed for flattened entry");
|
||||
panic!("methods and doc comments are not allowed for flattened entry");
|
||||
}
|
||||
}
|
||||
Kind::Subcommand(_) => {
|
||||
|
|
Loading…
Reference in a new issue