Skip to content

Commit 919e41f

Browse files
committed
---
yaml --- r: 134977 b: refs/heads/snap-stage3 c: e924357 h: refs/heads/master i: 134975: a356b89 v: v3
1 parent 6303188 commit 919e41f

File tree

5 files changed

+8
-107
lines changed

5 files changed

+8
-107
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 7eb9337dace88c5ded431aa7507f06d50619131b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 2ec305d1bcd29a989405ccee32bd7a113058584e
4+
refs/heads/snap-stage3: e9243575543e24777fbad230de921eeffc1f210f
55
refs/heads/try: 14378ea357c06c23607ca61ade44f60a7a64a1c7
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/diagnostics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ register_diagnostics!(
146146
E0139,
147147
E0140,
148148
E0141,
149-
E0144,
150149
E0152,
151150
E0153,
152151
E0154,

branches/snap-stage3/src/librustc/driver/driver.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use lint;
1717
use llvm::{ContextRef, ModuleRef};
1818
use metadata::common::LinkMeta;
1919
use metadata::creader;
20-
use middle::{trans, stability, kind, ty, typeck, reachable};
20+
use middle::{trans, stability, ty, typeck, reachable};
2121
use middle::dependency_format;
2222
use middle;
2323
use plugin::load::Plugins;
@@ -462,8 +462,12 @@ pub fn phase_3_run_analysis_passes<'tcx>(sess: Session,
462462
time(time_passes, "rvalue checking", (), |_|
463463
middle::check_rvalues::check_crate(&ty_cx, krate));
464464

465-
time(time_passes, "kind checking", (), |_|
466-
kind::check_crate(&ty_cx));
465+
// Avoid overwhelming user with errors if type checking failed.
466+
// I'm not sure how helpful this is, to be honest, but it avoids a
467+
// lot of annoying errors in the compile-fail tests (basically,
468+
// lint warnings and so on -- kindck used to do this abort, but
469+
// kindck is gone now). -nmatsakis
470+
ty_cx.sess.abort_if_errors();
467471

468472
let reachable_map =
469473
time(time_passes, "reachability checking", (), |_|

branches/snap-stage3/src/librustc/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ pub mod middle {
9595
pub mod expr_use_visitor;
9696
pub mod graph;
9797
pub mod intrinsicck;
98-
pub mod kind;
9998
pub mod lang_items;
10099
pub mod liveness;
101100
pub mod mem_categorization;

branches/snap-stage3/src/librustc/middle/kind.rs

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)