-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
syntax: misc extractions #65376
syntax: misc extractions #65376
Conversation
This comment has been minimized.
This comment has been minimized.
cdf6652
to
9262b02
Compare
This comment has been minimized.
This comment has been minimized.
6ed37c2
to
aaeb137
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
src/libsyntax/parse/sess.rs
Outdated
|
||
/// Extend an error with a suggestion to wrap an expression with parentheses to allow the | ||
/// parser to continue parsing the following operation as part of the same expression. | ||
pub fn expr_parentheses_needed( |
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.
I'm pretty sure this doesn't belong to sess.rs
even if it was there previously.
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.
Yeah I agree, but I'm not quite sure where to put it tho and we can always move it later. =)
r=me after rebase and fixing tests |
aaeb137
to
ae156a5
Compare
@bors r=petrochenkov |
📌 Commit ae156a5 has been approved by |
…rochenkov syntax: misc extractions Part of rust-lang#65324. r? @petrochenkov
…rochenkov syntax: misc extractions Part of rust-lang#65324. r? @petrochenkov
Part of #65324.
r? @petrochenkov