diff options
Diffstat (limited to 'src/trace.rs')
-rw-r--r-- | src/trace.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/trace.rs b/src/trace.rs new file mode 100644 index 0000000..9c05576 --- /dev/null +++ b/src/trace.rs @@ -0,0 +1,11 @@ +//! Deprecated, replaced with [`winnow::combinator`][crate::combinator] + +/// Deprecated, replaced with [`winnow::combinator::trace`][crate::combinator::trace] +#[deprecated(since = "0.5.35", note = "Replaced with `winnow::combinator::trace`")] +#[inline(always)] +pub fn trace<I: crate::stream::Stream, O, E>( + name: impl crate::lib::std::fmt::Display, + parser: impl crate::Parser<I, O, E>, +) -> impl crate::Parser<I, O, E> { + crate::combinator::trace(name, parser) +} |