Skip to content

Remove uses of "dyn Parser"#84

Open
goffrie wants to merge 1 commit into
tjtelan:mainfrom
goffrie:dyn-parser
Open

Remove uses of "dyn Parser"#84
goffrie wants to merge 1 commit into
tjtelan:mainfrom
goffrie:dyn-parser

Conversation

@goffrie

@goffrie goffrie commented May 14, 2026

Copy link
Copy Markdown

There are a few uses of the pattern <dyn Parser<_, Output = T, ..> as Parser<_>>::Output, which can just be simplified to T.

(The pattern is actually invalid since trait Parser is not dyn-compatible and so dyn Parser should not be a valid type, per rust-lang/rust#154992, but the current compiler accepts it by accident.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant