@@ -17,19 +17,19 @@ type DefaultCtx = ();
1717///
1818/// This trait is sealed and so cannot be implemented by other crates because all uses should instead
1919/// go through the types defined in this module.
20- pub trait ParserExtra < ' a , I > : ' a + Sealed
20+ pub trait ParserExtra < ' a , I > : Sealed
2121where
2222 I : Input < ' a > ,
2323{
2424 /// Error type to use for the parser. This type must implement [`Error`], and when it fails,
2525 /// the parser will return a set of this type to describe why the failure occurred.
26- type Error : Error < ' a , I > + ' a ;
26+ type Error : Error < ' a , I > ;
2727 /// State type to use for the parser. This is used to provide stateful *output* of the parser,
2828 /// such as interned identifiers or position-dependent name resolution, however *cannot* influence
2929 /// the actual progress of the parser - for that, use [`Self::Context`].
3030 ///
3131 /// For examples of using this type, see [`Parser::map_with`] or [`Parser::foldl_with`].
32- type State : Inspector < ' a , I > + ' a ;
32+ type State : Inspector < ' a , I > ;
3333 /// Context used for parser configuration. This is used to provide context-sensitive parsing of *input*.
3434 /// Context-sensitive parsing in chumsky is always left-hand sensitive - context for the parse must originate
3535 /// from an earlier point in the stream than the parser relying on it. This can affect the output of a parser,
@@ -63,8 +63,8 @@ impl<E, S, C> Sealed for Full<E, S, C> {}
6363impl < ' a , I , E , S , C > ParserExtra < ' a , I > for Full < E , S , C >
6464where
6565 I : Input < ' a > ,
66- E : Error < ' a , I > + ' a ,
67- S : Inspector < ' a , I > + ' a ,
66+ E : Error < ' a , I > ,
67+ S : Inspector < ' a , I > ,
6868 C : ' a ,
6969{
7070 type Error = E ;
0 commit comments