Skip to content

Commit

Permalink
Bless tests
Browse files Browse the repository at this point in the history
  • Loading branch information
camsteffen committed Oct 6, 2021
1 parent b6cab80 commit a8d8bfd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/ui/suggestions/derive-trait-for-method-call.stderr
Expand Up @@ -20,6 +20,17 @@ LL | let y = x.test();
`Enum: Clone`
`Enum: Default`
`CloneEnum: Default`
note: the following trait must be implemented
--> $SRC_DIR/core/src/default.rs:LL:COL
|
LL | / pub trait Default: Sized {
LL | | /// Returns the "default value" for a type.
LL | | ///
LL | | /// Default values are often some kind of initial value, identity value, or anything else that
... |
LL | | fn default() -> Self;
LL | | }
| |_^
help: consider annotating `Enum` with `#[derive(Clone)]`
|
LL | #[derive(Clone)]
Expand Down

0 comments on commit a8d8bfd

Please sign in to comment.