-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsyntax: Forbid escapes in the inclusive range
\x80
-\xff
in
Unicode characters and strings. Use `\u0080`-`\u00ff` instead. ASCII/byte literals are unaffected. This PR introduces a new function, `escape_default`, into the ASCII module. This was necessary for the pretty printer to continue to function. RFC #326. Closes #18062. [breaking-change]
- Loading branch information
Showing
12 changed files
with
4,290 additions
and
4,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e8d6031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pcwalton
at pcwalton@e8d6031
e8d6031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging pcwalton/rust/small-escapes = e8d6031 into auto
e8d6031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pcwalton/rust/small-escapes = e8d6031 merged ok, testing candidate = 4375b32
e8d6031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2119
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2118
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2111
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2118
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2112
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2111
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2111
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2115
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/2108
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2107
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2111
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1770
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1763
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1772
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/609
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/604
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/597
e8d6031
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 4375b32