Skip to content

Commit a8d8bfd

Browse files
committed
Bless tests
1 parent b6cab80 commit a8d8bfd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/test/ui/suggestions/derive-trait-for-method-call.stderr

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ LL | let y = x.test();
2020
`Enum: Clone`
2121
`Enum: Default`
2222
`CloneEnum: Default`
23+
note: the following trait must be implemented
24+
--> $SRC_DIR/core/src/default.rs:LL:COL
25+
|
26+
LL | / pub trait Default: Sized {
27+
LL | | /// Returns the "default value" for a type.
28+
LL | | ///
29+
LL | | /// Default values are often some kind of initial value, identity value, or anything else that
30+
... |
31+
LL | | fn default() -> Self;
32+
LL | | }
33+
| |_^
2334
help: consider annotating `Enum` with `#[derive(Clone)]`
2435
|
2536
LL | #[derive(Clone)]

0 commit comments

Comments
 (0)