We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use E::{A,B}; #[derive(Debug, Clone)] enum E { A(i64), B(Box<E>), } fn f(a: &mut E) { *a = match *a { B(ref b) => *b.clone(), _ => a.clone(), } } fn main() { let mut a = B(Box::new(A(1))); f(&mut a); }
This code yields the following message during compilation:
Instruction does not dominate all uses! %9 = load %enum.E** %2, !nonnull !0 %17 = bitcast %enum.E* %9 to i8* Instruction does not dominate all uses! %9 = load %enum.E** %2, !nonnull !0 %21 = bitcast %enum.E* %9 to i8* LLVM ERROR: Broken function found, compilation aborted!
The text was updated successfully, but these errors were encountered:
A duplicate of #15892, closing. Thanks for the report! :)
Sorry, something went wrong.
No branches or pull requests
This code yields the following message during compilation:
The text was updated successfully, but these errors were encountered: