-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c89dae9
commit 8cc96e4
Showing
3 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error[E0599]: no method named `non_existing_attribute` found for struct `structopt::clap::Arg<'_, '_>` in the current scope | ||
error[E0599]: no method named `non_existing_attribute` found for struct `Arg<'_, '_>` in the current scope | ||
--> $DIR/non_existent_attr.rs:14:24 | ||
| | ||
14 | #[structopt(short, non_existing_attribute = 1)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `structopt::clap::Arg<'_, '_>` | ||
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Arg<'_, '_>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
error[E0277]: the trait bound `Kind: std::default::Default` is not satisfied | ||
error[E0277]: the trait bound `Kind: Default` is not satisfied | ||
--> $DIR/skip_without_default.rs:22:17 | ||
| | ||
22 | #[structopt(skip)] | ||
| ^^^^ the trait `std::default::Default` is not implemented for `Kind` | ||
| ^^^^ the trait `Default` is not implemented for `Kind` | ||
| | ||
= note: required by `std::default::Default::default` | ||
|
||
For more information about this error, try `rustc --explain E0277`. |