2022-12-13 05:30:58 -06:00
|
|
|
// Test that we get the following hint when trying to use a compiler crate without rustc_driver.
|
|
|
|
//@ error-pattern: try adding `extern crate rustc_driver;` at the top level of this crate
|
|
|
|
//@ compile-flags: --emit link
|
2024-06-21 00:15:36 -05:00
|
|
|
//@ normalize-stderr-test: ".*crate .* required.*\n\n" -> ""
|
2023-07-08 14:50:57 -05:00
|
|
|
//@ normalize-stderr-test: "aborting due to [0-9]+" -> "aborting due to NUMBER"
|
2022-12-13 05:30:58 -06:00
|
|
|
|
|
|
|
#![feature(rustc_private)]
|
|
|
|
|
|
|
|
extern crate rustc_serialize;
|
|
|
|
|
|
|
|
fn main() {}
|