We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1379ef5 commit b3beb4eCopy full SHA for b3beb4e
compiler/rustc_codegen_cranelift/src/discriminant.rs
@@ -3,7 +3,8 @@
3
//! Adapted from <https://github.com/rust-lang/rust/blob/31c0645b9d2539f47eecb096142474b29dc542f7/compiler/rustc_codegen_ssa/src/mir/place.rs>
4
//! (<https://github.com/rust-lang/rust/pull/104535>)
5
6
-use rustc_target::abi::{Int, TagEncoding, Variants};
+use rustc_abi::Primitive::Int;
7
+use rustc_abi::{TagEncoding, Variants};
8
9
use crate::prelude::*;
10
compiler/rustc_codegen_cranelift/src/lib.rs
@@ -15,6 +15,7 @@
15
extern crate jobserver;
16
#[macro_use]
17
extern crate rustc_middle;
18
+extern crate rustc_abi;
19
extern crate rustc_ast;
20
extern crate rustc_codegen_ssa;
21
extern crate rustc_data_structures;
0 commit comments