Bless tests

This commit is contained in:
Cameron Steffen 2021-10-06 14:00:40 -05:00
parent b6cab80c18
commit a8d8bfd376

View File

@ -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)]