Skip to content

Commit

Permalink
Change a #[cfg()] to a cfg!()
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Aug 13, 2017
1 parent 6135b2d commit bf0eb6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_driver/driver.rs
Expand Up @@ -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");
}
Expand Down

0 comments on commit bf0eb6a

Please sign in to comment.