-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 in type checking. #15678
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
(This is actually an ICE in the phase after coherence checking (i.e. type checking), since the timing is printed after each phase finishes; I have updated the title.) |
#![feature(overloaded_calls)]
use std::ops::{Fn, Add};
struct g;
impl<'a,A:Add<int,int>> Fn<(A,),int> for g {
#[rust_call_abi_hack]
fn call(&self, (arg,): (A,)) -> int {
arg.add(&1)
}
}
g(1i) Edit: Unrelated. It has its own issue. |
As we're missing the code to reproduce this issue, it's not really actionable, so I'm going to close it. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Nov 13, 2023
…diagnostics, r=HKalbasi fix: add incorrect case diagnostics for module names Adds diagnostics for checking both inline and file module names are snake case. Closes rust-lang#15678
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got no time right now to reduce my code to something suitable for this issue, but here's the stacktrace:
The text was updated successfully, but these errors were encountered: