You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: non-msrv-tests/tests/ui/use_case.stderr
+26-12Lines changed: 26 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -26,18 +26,32 @@ error: derive-where doesn't support empty items, as this can already be handled
26
26
17 | | struct UnionEmpty {}
27
27
| |____________________^
28
28
29
-
error: derive-where doesn't support items without generics, `skip` attributes or `enum`s implementing `Default`, as this can already be handled by standard `#[derive(..)]`
30
-
--> tests/ui/use_case.rs:20:1
29
+
error: this can be handled by standard `#[derive(..)]`, use a `skip` attribute, implement `Default` on an enum, of different generic type parameters
30
+
--> tests/ui/use_case.rs:20:16
31
31
|
32
-
20 | / #[derive_where(Clone)]
33
-
21 | | struct StructNone(u8);
34
-
| |______________________^
32
+
20 | #[derive_where(Clone)]
33
+
| ^^^^^
35
34
36
-
error: derive-where doesn't support items without generics, `skip` attributes or `enum`s implementing `Default`, as this can already be handled by standard `#[derive(..)]`
37
-
--> tests/ui/use_case.rs:24:1
35
+
error: this can be handled by standard `#[derive(..)]`, use a `skip` attribute, implement `Default` on an enum, of different generic type parameters
36
+
--> tests/ui/use_case.rs:24:16
38
37
|
39
-
24 | / #[derive_where(Clone)]
40
-
25 | | enum EnumNone {
41
-
26 | | A(u8),
42
-
27 | | }
43
-
| |_^
38
+
24 | #[derive_where(Clone)]
39
+
| ^^^^^
40
+
41
+
error: this can be handled by standard `#[derive(..)]`, use a `skip` attribute, implement `Default` on an enum, of different generic type parameters
42
+
--> tests/ui/use_case.rs:30:16
43
+
|
44
+
30 | #[derive_where(Clone; T)]
45
+
| ^^^^^
46
+
47
+
error: this can be handled by standard `#[derive(..)]`, use a `skip` attribute, implement `Default` on an enum, of different generic type parameters
48
+
--> tests/ui/use_case.rs:34:16
49
+
|
50
+
34 | #[derive_where(Clone, Debug; T)]
51
+
| ^^^^^
52
+
53
+
error: this can be handled by standard `#[derive(..)]`, use a `skip` attribute, implement `Default` on an enum, of different generic type parameters
0 commit comments