Skip to content

Commit 3d9eebc

Browse files
committed
Fix tests
1 parent 3e69335 commit 3d9eebc

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

tests/ui-fulldeps/deriving-global.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
extern crate rustc_macros;
66
extern crate rustc_serialize;
7+
extern crate rustc_span;
78

89
// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
910
// files.

tests/ui-fulldeps/deriving-hygiene.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![feature(rustc_private)]
55
extern crate rustc_macros;
66
extern crate rustc_serialize;
7+
extern crate rustc_span;
78

89
use rustc_macros::{Decodable, Encodable};
910

tests/ui-fulldeps/empty-struct-braces-derive.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
extern crate rustc_macros;
77
extern crate rustc_serialize;
8+
extern crate rustc_span;
89

910
// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
1011
// files.

tests/ui-fulldeps/rustc_encodable_hygiene.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#![feature(rustc_private)]
44

55
extern crate rustc_macros;
6-
#[allow(dead_code)]
76
extern crate rustc_serialize;
7+
extern crate rustc_span;
88

99
// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
1010
// files.

0 commit comments

Comments
 (0)