Lines Matching defs:build_error
6 pub use build_error::build_error;
8 /// Fails the build if the code path calling `build_error!` can possibly be executed.
10 /// If the macro is executed in const context, `build_error!` will panic.
11 /// If the compiler or optimizer cannot guarantee that `build_error!` can never
19 /// a.checked_add(1).unwrap_or_else(|| build_error!("overflow"))
26 macro_rules! build_error {
28 $crate::build_assert::build_error("")
31 $crate::build_assert::build_error($msg)
78 $crate::build_assert::build_error(concat!("assertion failed: ", stringify!($cond)));
83 $crate::build_assert::build_error($msg);