-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't warn on CRLF in with_newline
lints
#4769
Conversation
@@ -42,4 +42,9 @@ fn main() { | |||
r" | |||
" | |||
); | |||
|
|||
// Don't warn on CRLF (#4208) | |||
print!("\r\n"); |
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.
Another test case: print!("foo\rbar\n");
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.
Added.
4c40a50
to
1329dc2
Compare
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.
Thanks!
waiting for rustup.
@bors r+ rollup |
📌 Commit 1329dc2 has been approved by |
🌲 The tree is currently closed for pull requests below priority 10, this pull request will be tested once the tree is reopened |
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes rust-lang#4208. This PR also transitions the unescaping logic to use the compiler's lexer.
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes rust-lang#4208. This PR also transitions the unescaping logic to use the compiler's lexer.
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes #4208. This PR also transitions the unescaping logic to use the compiler's lexer.
💔 Test failed - checks-travis |
@bors retry |
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes #4208. This PR also transitions the unescaping logic to use the compiler's lexer.
☀️ Test successful - checks-travis, status-appveyor |
👀 Test was successful, but fast-forwarding failed: 422 Update is not a fast forward |
☔ The latest upstream changes (presumably #4802) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r=flip1995 |
📌 Commit 403ce3f has been approved by |
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes #4208. This PR also transitions the unescaping logic to use the compiler's lexer.
💔 Test failed - status-appveyor |
This needs to be rebased agains upstream master. |
@bors r+ |
📌 Commit add7664 has been approved by |
don't warn on CRLF in `with_newline` lints changelog: don't warn on CRLF in `print_with_newline` and `write_with_newline` fixes #4208. This PR also transitions the unescaping logic to use the compiler's lexer.
☀️ Test successful - checks-travis, status-appveyor |
changelog: don't warn on CRLF in
print_with_newline
andwrite_with_newline
fixes #4208.
This PR also transitions the unescaping logic to use the compiler's lexer.