Skip to content

Share literal validation logic with compiler#1253

Merged
bors[bot] merged 1 commit into
masterfrom
unescape
May 7, 2019
Merged

Share literal validation logic with compiler#1253
bors[bot] merged 1 commit into
masterfrom
unescape

Conversation

@matklad

@matklad matklad commented May 7, 2019

Copy link
Copy Markdown
Contributor

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

matklad commented May 7, 2019

Copy link
Copy Markdown
Contributor Author

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

bors Bot commented May 7, 2019

Copy link
Copy Markdown
Contributor

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