Skip to content

Commit d7fa2ee

Browse files
committed
Add missing extern crate rustc_driver
1 parent ac8eaa1 commit d7fa2ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ extern crate rustc_parse;
2424
extern crate rustc_session;
2525
extern crate rustc_span;
2626

27+
// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
28+
// files.
29+
#[allow(unused_extern_crates)]
30+
extern crate rustc_driver;
31+
2732
use std::cell::RefCell;
2833
use std::collections::HashMap;
2934
use std::fmt;

0 commit comments

Comments
 (0)