-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Detect extra space in keyword for better hint #113309
Conversation
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.
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.
this isn't exactly great but I guess it's okay. I think finding such invalid tokens should actually be a fatal error, but I'm not sure about that. Maybe try putting up a PR that makes source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
errors fatal and see what wg-diagnostics thinks?
6484899
to
b344bfa
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.
r=me after fixing formatting
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.
this isn't exactly great but I guess it's okay. I think finding such invalid tokens should actually be a fatal error, but I'm not sure about that. Maybe try putting up a PR that makes source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
errors fatal and see what wg-diagnostics thinks?
d3fa2fa
to
799d291
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.
Ofc, the let-chain in diagnostics.rs
is not formatted quite right (body indented by 8 spaces, &&
indented by 2) but since rustfmt
can't handle them yet it's fine. We're gonna have to format-the-world anyways once it does.
yes, I was always mad with format when using |
@bors r=Nilstrieb |
…=Nilstrieb Detect extra space in keyword for better hint Fixes rust-lang#89640 r? `@Nilstrieb` I met the same issue, then found out this old issue :)
☀️ Test successful - checks-actions |
Thank you GitHub for closing this PR! |
What happened? Seems it is a Github bug .... |
Last time this happened to one of my PRs it got merged in the end with a one hour delay... |
Finished benchmarking commit (4dbc7e3): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 654.344s -> 653.659s (-0.10%) |
I'll just close the PR manually. The commit is on master, GitHub is just confused. Everything is fine. |
Fixes #89640
r? @Nilstrieb
I met the same issue, then found out this old issue :)