Skip to content

Commit 2f858e7

Browse files
committed
Fix tests
1 parent 478bf83 commit 2f858e7

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

src/librustc_data_structures/graph/tests.rs

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
use graph::*;
1212
use std::fmt::Debug;
1313

14-
type TestNode = Node<&'static str>;
15-
type TestEdge = Edge<&'static str>;
1614
type TestGraph = Graph<&'static str, &'static str>;
1715

1816
fn create_graph() -> TestGraph {

src/librustc_driver/test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ fn test_env<F>(source_string: &str,
137137
TyCtxt::create_and_enter(&sess,
138138
&arenas,
139139
resolutions.def_map,
140+
resolutions.assoc_map,
140141
resolutions.trait_map,
141142
named_region_map.unwrap(),
142143
ast_map,

src/test/compile-fail/issue-32119.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(rustc_attrs)]
12+
#![allow(dead_code)]
1213

1314
pub type T = ();
1415
mod foo { pub use super::T; }

src/test/compile-fail/macro-tt-matchers.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(rustc_attrs)]
12+
#![allow(dead_code)]
1213

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

0 commit comments

Comments
 (0)