diff options
| -rw-r--r-- | src/librustc_driver/driver.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 84b1ade6d8b..51121669aef 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -246,8 +246,7 @@ pub fn compile_input(sess: &Session, })?? }; - #[cfg(not(feature="llvm"))] - { + if cfg!(not(feature="llvm")) { let (_, _) = (outputs, trans); sess.fatal("LLVM is not supported by this rustc"); } |
