Closed
Description
Code
fn main() {
println!(
"Hello \
• world!"
);
}
Current output
warning: non-ASCII whitespace symbol '\u{2022}' is not skipped
--> experiment\src\main.rs:3:16
|
3 | "Hello \
| ________________^
4 | | • world!"
| | ^ non-ASCII whitespace symbol '\u{2022}' is not skipped
| |_____|
|
Desired output
No warning, since U+2022 "•
" is not whitespace.
Anything else?
stable-x86_64-pc-windows-msvc - rustc 1.68.0 (2c8cc3432 2023-03-06)
Weirdly, this warning only occurs on Windows. Unfortunately, I have no Windows systems to test on other than GitHub Actions, so it isn't convenient to test further. I hope this bug report is useful anyway.
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Link-time optimization (LTO)Call for participation: An issue has been fixed and does not reproduce, but no test has been added.Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessCritical priorityRelevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from one stable version to another.
Activity