remove #[inline] on lambdas#219
remove #[inline] on lambdas#219dragostis merged 1 commit intopest-parser:masterfrom kivikakk:remove-lambda-inlines
Conversation
Signed-off-by: Ashe Connor <ashe@kivikakk.ee>
|
I'd like to test that this actually fixes the problem locally, but it's unclear to me quite how to do that. (do I set up an alternate registry?? that sounds like Not Fun.) |
|
I think it can be proven by compiling it. https://github.com/pest-parser/pest/blob/master/grammars/src/lib.rs#L20-L32 |
|
I'm not sure how that helps: on rust nightly, it attempts to build |
|
I've tried that by adding I think that is the only solution releasing 1.0.7 with this patch. It's possible because it still can be compiled on rustc 1.25 stable. |
|
@kivikakk I've tried to fix on |
Fixes #218.
Per rust-lang/rust#49291 (comment),
#[inline]has no effect on lambdas, and rustc has stopped allowing this in nightly.