-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Remove anonymous trait params from 2018 and beyond #53612
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@@ -1,4 +1,6 @@ | |||
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT | |||
// Test that anonymous parameters are disallowed in 2018 edition. |
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 copyright notice has to be the first thing in the file.
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.
Ah, thanks. I didn't notice I had done that.
Actually, if we wait for #53617, we won't need the license at all. |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Ugh... The line numbers changed. I will wait until the license isn't needed and then fix. |
r=me after fixing tests |
20f24c4
to
b32b6e8
Compare
Tests should be fixed hopefully (this is taking a while to run locally) |
@petrochenkov time for another review? Thanks! |
@bors r+ |
📌 Commit b32b6e8 has been approved by |
…enkov Remove anonymous trait params from 2018 and beyond cc @Centril @nikomatsakis cc #41686 rust-lang/rfcs#2522 #53272 This PR removes support for anonymous trait parameters syntactically in rust 2018 and onward. TODO: - [x] Add tests
☀️ Test successful - status-appveyor, status-travis |
cc @Centril @nikomatsakis
cc #41686 rust-lang/rfcs#2522 #53272
This PR removes support for anonymous trait parameters syntactically in rust 2018 and onward.
TODO: