-
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
ICE: Unnamed argument in static trait methods #13105
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
nice catch, looks like a bug in the |
Aatch
added a commit
to Aatch/rust
that referenced
this issue
Mar 24, 2014
I wrote that lint and didn't realize that it was legal to have unnamed function arguments. Whoops. What is the point of an unnamed function argument? It doesn't seem like you'll be able to do anything with it. |
I can get an ICE even for unnamed arguments in 'non-static' methods: #![crate_type="lib"]
trait Times {
fn times(&self, int) {
}
}
|
huonw
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Sep 10, 2014
ghost
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Oct 4, 2014
ghost
mentioned this issue
Oct 16, 2014
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 18, 2022
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 18, 2022
fix: Ignore auto-import assist on parameter names Fixes rust-lang#13105; before & after https://user-images.githubusercontent.com/29666622/195999489-0474c93a-b2bf-41c4-b7da-a4242a8082d8.mov https://user-images.githubusercontent.com/29666622/195999571-605ee09c-bc6f-4ee5-bfe4-73e37254c647.mov
lyming2007
pushed a commit
to lyming2007/rust
that referenced
this issue
Oct 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Script to reproduce:
Backtrace:
Exit code:
101
Version:
The text was updated successfully, but these errors were encountered: