Change a #[cfg()] to a cfg!()

This commit is contained in:
bjorn3 2017-08-13 16:47:47 +02:00 committed by GitHub
parent 6135b2dff5
commit bf0eb6a22d

View File

@ -246,8 +246,7 @@ macro_rules! controller_entry_point {
})?? })??
}; };
#[cfg(not(feature="llvm"))] if cfg!(not(feature="llvm")) {
{
let (_, _) = (outputs, trans); let (_, _) = (outputs, trans);
sess.fatal("LLVM is not supported by this rustc"); sess.fatal("LLVM is not supported by this rustc");
} }