Skip to content

Conversation

@matklad
Copy link
Contributor

@matklad matklad commented May 7, 2019

This is neat: the unescape module is literary what compiler is using right now:

https://github.com/rust-lang/rust/blob/c6ac57564852cb6e2d0db60f7b46d9eb98d4b449/src/libsyntax/parse/unescape.rs

So, yeah, code sharing via copy-paste!

@matklad
Copy link
Contributor Author

matklad commented May 7, 2019

bors r+

bors bot added a commit that referenced this pull request May 7, 2019
1253: Share literal validation logic with compiler r=matklad a=matklad

This is neat: the unescape module is literary what compiler is using right now:

https://github.com/rust-lang/rust/blob/c6ac57564852cb6e2d0db60f7b46d9eb98d4b449/src/libsyntax/parse/unescape.rs

So, yeah, code sharing via copy-paste!



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
@bors
Copy link
Contributor

bors bot commented May 7, 2019

Build succeeded

@bors bors bot merged commit 313314e into master May 7, 2019
@bors bors bot deleted the unescape branch May 7, 2019 16:51
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