]> git.lizzy.rs Git - rust.git/commitdiff
Add missing extern crate rustc_driver
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>
Mon, 12 Dec 2022 19:37:28 +0000 (19:37 +0000)
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>
Sat, 31 Dec 2022 17:20:13 +0000 (17:20 +0000)
src/lib.rs

index 1d1ef525f23fa38ba259bdd45ea0e0e6e86a8549..0c27bcacfb83ca73c77744e4ff02b6d640f63215 100644 (file)
 extern crate rustc_session;
 extern crate rustc_span;
 
+// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
+// files.
+#[allow(unused_extern_crates)]
+extern crate rustc_driver;
+
 use std::cell::RefCell;
 use std::collections::HashMap;
 use std::fmt;