-
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
Cleaner code for unsep literals #4421
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.
This code looks way cleaner than before, thanks!
What about the problem with the assert
you mentioned in the other PR?
Ah just saw it in the travis build. That's a really weird macro interaction 😄 Can you add a check for |
I think it's because of the |
It already have that check in rust-clippy/clippy_lints/src/misc_early.rs Lines 319 to 322 in 0ccb9ea
but it doesn't work as it seems.
👍 |
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 think the in_external_macro
check should stay. You should be able to add a check for this with the auxiliary
files in the ui
test directory.
faf63ed
to
050bb33
Compare
Tests passed locally. |
That's a good solution for the |
I resolved comment review. Thank you very much for your help! |
Thanks! @bors r+ |
📌 Commit c1a4b26 has been approved by |
Cleaner code for unsep literals Continuing discussion in #4401 (comment) changelog: none r? @flip1995
☀️ Test successful - checks-travis, status-appveyor |
Continuing discussion in #4401 (comment)
changelog: none
r? @flip1995