blob: f386d922b4ab9571d9e407927312344c901ae258 [file]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#[cfg(feature = "required_feature")]
pub fn foo() -> i32 {
42
}
#[cfg(not(feature = "required_feature"))]
const _: () = "this is a type error, because required_feature was unset";