diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-01 11:11:20 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-01 11:11:20 +0000 |
commit | 5a866a772c863ba7e3ec8bad353c1b6997a7a62a (patch) | |
tree | bd7d22f923791d07224720de155aa05efa663f22 /crates/ra_syntax/tests/data/parser | |
parent | 6044ec50572747a1a096133d7f71c2d3d689bbf3 (diff) | |
parent | 0fd87cbc478427296f2ca81c177e32bdb41aa133 (diff) |
Merge #396
396: Fix the `panic` found whilst fuzzing r=matklad,me a=DJMcNab
This occurred when a non-ascii character was used in an ascii escape, for example in the motivating example: `if'\xɿ`, which can be further simplified to `'\xɿ`.
Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/fuzz-failures/0003.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/fuzz-failures/0003.rs b/crates/ra_syntax/tests/data/parser/fuzz-failures/0003.rs new file mode 100644 index 000000000..0f59c4722 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/fuzz-failures/0003.rs | |||
@@ -0,0 +1 @@ | |||
if'\xɿ \ No newline at end of file | |||