Skip to content

Commit 49ccc10

Browse files
committed
Rebase fixups
1 parent 1949bdf commit 49ccc10

File tree

6 files changed

+2
-8
lines changed

6 files changed

+2
-8
lines changed

src/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/librustc/ty/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ pub use self::context::{Lift, TypeckTables};
7171

7272
pub use self::trait_def::{TraitDef, TraitFlags};
7373

74-
use rustc_i128::u128;
75-
7674
pub mod adjustment;
7775
pub mod cast;
7876
pub mod error;

src/librustc_typeck/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ rustc_data_structures = { path = "../librustc_data_structures" }
2222
rustc_platform_intrinsics = { path = "../librustc_platform_intrinsics" }
2323
syntax_pos = { path = "../libsyntax_pos" }
2424
rustc_errors = { path = "../librustc_errors" }
25-
rustc_i128 = { path = "../librustc_i128" }

src/librustc_typeck/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ extern crate rustc_const_eval;
9898
extern crate rustc_data_structures;
9999
extern crate rustc_errors as errors;
100100

101-
extern crate rustc_i128;
102-
103101
pub use rustc::dep_graph;
104102
pub use rustc::hir;
105103
pub use rustc::lint;

src/test/codegen/match.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub enum E {
2121
#[no_mangle]
2222
pub fn exhaustive_match(e: E) {
2323
// CHECK: switch{{.*}}, label %[[OTHERWISE:[a-zA-Z0-9_]+]] [
24-
// CHECK-NEXT: i8 [[DISCR:[0-9]+]], label %[[TRUE:[a-zA-Z0-9_]+]]
24+
// CHECK-NEXT: i[[TY:[0-9]+]] [[DISCR:[0-9]+]], label %[[TRUE:[a-zA-Z0-9_]+]]
2525
// CHECK-NEXT: ]
2626
// CHECK: [[TRUE]]:
2727
// CHECK-NEXT: br label %[[EXIT:[a-zA-Z0-9_]+]]

src/test/mir-opt/simplify_if.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn main() {
1717
// END RUST SOURCE
1818
// START rustc.node4.SimplifyBranches.initial-before.mir
1919
// bb0: {
20-
// if(const false) -> [true: bb1, false: bb2];
20+
// switchInt(const false) -> [0: bb2, otherwise: bb1];
2121
// }
2222
// END rustc.node4.SimplifyBranches.initial-before.mir
2323
// START rustc.node4.SimplifyBranches.initial-after.mir

0 commit comments

Comments
 (0)