Skip to content

Commit 00afc43

Browse files
committed
---
yaml --- r: 134746 b: refs/heads/master c: e924357 h: refs/heads/master v: v3
1 parent f51326b commit 00afc43

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,5 +1,5 @@
11
---
2-
refs/heads/master: 2ec305d1bcd29a989405ccee32bd7a113058584e
2+
refs/heads/master: e9243575543e24777fbad230de921eeffc1f210f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 437179ed8bf7f7672f84b19265df1ce569e70490
55
refs/heads/try: 19f62d05d3e52735153e9f4e9862e100bb7b2566

trunk/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,

trunk/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", (), |_|

trunk/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;

trunk/src/librustc/middle/kind.rs

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

0 commit comments

Comments
 (0)