@@ -5,7 +5,6 @@ use core::fmt;
5
5
use crate :: error:: { self , ParseFromDescription , TryFromParsed } ;
6
6
7
7
/// An error that occurred at some stage of parsing.
8
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
9
8
#[ allow( variant_size_differences) ]
10
9
#[ non_exhaustive]
11
10
#[ derive( Debug , Clone , Copy , PartialEq , Eq ) ]
@@ -40,14 +39,12 @@ impl std::error::Error for Parse {
40
39
}
41
40
}
42
41
43
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
44
42
impl From < TryFromParsed > for Parse {
45
43
fn from ( err : TryFromParsed ) -> Self {
46
44
Self :: TryFromParsed ( err)
47
45
}
48
46
}
49
47
50
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
51
48
impl TryFrom < Parse > for TryFromParsed {
52
49
type Error = error:: DifferentVariant ;
53
50
@@ -59,14 +56,12 @@ impl TryFrom<Parse> for TryFromParsed {
59
56
}
60
57
}
61
58
62
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
63
59
impl From < ParseFromDescription > for Parse {
64
60
fn from ( err : ParseFromDescription ) -> Self {
65
61
Self :: ParseFromDescription ( err)
66
62
}
67
63
}
68
64
69
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
70
65
impl TryFrom < Parse > for ParseFromDescription {
71
66
type Error = error:: DifferentVariant ;
72
67
@@ -78,7 +73,6 @@ impl TryFrom<Parse> for ParseFromDescription {
78
73
}
79
74
}
80
75
81
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
82
76
impl From < Parse > for crate :: Error {
83
77
fn from ( err : Parse ) -> Self {
84
78
match err {
@@ -89,7 +83,6 @@ impl From<Parse> for crate::Error {
89
83
}
90
84
}
91
85
92
- #[ cfg_attr( __time_03_docs, doc( cfg( feature = "parsing" ) ) ) ]
93
86
impl TryFrom < crate :: Error > for Parse {
94
87
type Error = error:: DifferentVariant ;
95
88
0 commit comments