This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
ba6fe58095f98f070d161ffdc6c59b51b59d41db
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
(
)
{
"
}
Reference in New Issue
Copy Permalink