-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fill match arms
duplicates arm with imported variants
#15147
Comments
Fill match arms
yields duplicate armFill match arms
yields duplicate arm with imported variants
Minimal repro: mod m {
pub enum E {
A,
}
}
use m::E::{self, *};
fn foo(e: E) {
match e {
E::A => {}
}
} |
Fill match arms
yields duplicate arm with imported variantsFill match arms
duplicates arm with imported variants
@rustbot claim |
@alibektas Is there anything I can do to help resolve this? I'm the reporter of #15143 and am unable to use rust-analyzer in my work codebase because it panics almost constantly. My hunch is that the code in question is proc-macro code from sea-orm, but I don't know how to inspect the specific code that RA is looking at when it panics. I don't believe I have any code that looks like the minimal repro |
@jbr let me work on this for the next couple of hours and I will let you know either at the end of my day ( UTC+2 ) or tomorrow. Perhaps you could let me know whether the problem still continues once this is issue is closed. |
Spotted in #15143.
The text was updated successfully, but these errors were encountered: