Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed Nov 22, 2016
1 parent 478bf83 commit 2f858e7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustc_data_structures/graph/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
use graph::*;
use std::fmt::Debug;

type TestNode = Node<&'static str>;
type TestEdge = Edge<&'static str>;
type TestGraph = Graph<&'static str, &'static str>;

fn create_graph() -> TestGraph {
Expand Down
1 change: 1 addition & 0 deletions src/librustc_driver/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ fn test_env<F>(source_string: &str,
TyCtxt::create_and_enter(&sess,
&arenas,
resolutions.def_map,
resolutions.assoc_map,
resolutions.trait_map,
named_region_map.unwrap(),
ast_map,
Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail/issue-32119.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

#![feature(rustc_attrs)]
#![allow(dead_code)]

pub type T = ();
mod foo { pub use super::T; }
Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail/macro-tt-matchers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

#![feature(rustc_attrs)]
#![allow(dead_code)]

macro_rules! foo {
($x:tt) => (type Alias = $x<i32>;)
Expand Down

0 comments on commit 2f858e7

Please sign in to comment.