This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
42ee400b0f
rust
/
tests
/
ui
/
parser
/
unbalanced-doublequote.rs
7 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ error-pattern: unterminated double quote string
Patch to error instead of crashing when parsing unmatched double quotes Patch to error and fail instead of using all available memory then crashing to detect the error condition of an unmatched double quote before the end of a file. I couldn't get it to show nice error messages, so this may not be the ideal fix. A test case for this situation has also been added.
2011-09-28 04:15:24 +10:00
fn
main
(
)
{
"
}
Copy permalink