Change a #[cfg()] to a cfg!()
This commit is contained in:
parent
6135b2dff5
commit
bf0eb6a22d
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue